projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Another fix to yesterday's window-resizing revamp: when restoring from
[u/mdw/putty]
/
windows
/
window.c
diff --git
a/windows/window.c
b/windows/window.c
index
d73c04b
..
cd583bf
100644
(file)
--- 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