]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Fix a typo in r9214 that plausibly explains a resizing weirdness I had with
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Sun, 17 Jul 2011 22:35:08 +0000 (22:35 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Sun, 17 Jul 2011 22:35:08 +0000 (22:35 +0000)
today's snapshot on Windows.

[originally from svn r9230]
[r9214 == a1f3b7a358adaa7c2a98359cd0373aa823eeb14b]

windows/window.c

index da0d3d48efddaa9127ceb82420a3398f7d4c1785..102c470d0011a766293968869c1e2fb26128eee8 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));
                 }