X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/a197b71101b0fb9381f9ffbaf36329e430215ef1..4e05e1040407ccd21a296950216caf2cf1a31e0d:/windows/window.c diff --git a/windows/window.c b/windows/window.c index d73c04bc..cd583bf0 100644 --- a/windows/window.c +++ b/windows/window.c @@ -2771,6 +2771,7 @@ static LRESULT CALLBACK WndProc(HWND hwnd, UINT message, h = (height-cfg.window_border*2) / font_height; if (h < 1) h = 1; term_size(term, h, w, cfg.savelines); + reset_window(2); } else if (cfg.resize_action != RESIZE_FONT) reset_window(2); else