Fix a typo in r9214 that plausibly explains a resizing weirdness I had with
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Sun, 17 Jul 2011 22:35:08 +0000 (22:35 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Sun, 17 Jul 2011 22:35:08 +0000 (22:35 +0000)
today's snapshot on Windows.

git-svn-id: svn://svn.tartarus.org/sgt/putty@9230 cda61777-01e9-0310-a592-d414129be87e

windows/window.c

index da0d3d4..102c470 100644 (file)
@@ -2934,7 +2934,7 @@ static LRESULT CALLBACK WndProc(HWND hwnd, UINT message,
                      */
                    need_backend_resize = TRUE;
                    conf_set_int(conf, CONF_height, h);
-                   conf_set_int(conf, CONF_height, w);
+                   conf_set_int(conf, CONF_width, w);
                 } else {
                     term_size(term, h, w, conf_get_int(conf, CONF_savelines));
                 }