term->cfg is now a full copy of the Config structure, not a pointer;
[u/mdw/putty] / window.c
index cea9d5c..272a527 100644 (file)
--- a/window.c
+++ b/window.c
@@ -1779,8 +1779,8 @@ static LRESULT CALLBACK WndProc(HWND hwnd, UINT message,
                cfgtopalette();
                init_palette();
 
-               /* Give terminal a heads-up on miscellaneous stuff */
-               term_reconfig(term);
+               /* Pass new config data to the terminal */
+               term_reconfig(term, &cfg);
 
                /* Screen size changed ? */
                if (cfg.height != prev_cfg.height ||