From: jacob Date: Sun, 17 Jul 2011 22:35:08 +0000 (+0000) Subject: Fix a typo in r9214 that plausibly explains a resizing weirdness I had with X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/commitdiff_plain/a1659af647d071828022a0c0f30ee975f363b26c Fix a typo in r9214 that plausibly explains a resizing weirdness I had with today's snapshot on Windows. git-svn-id: svn://svn.tartarus.org/sgt/putty@9230 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/windows/window.c b/windows/window.c index da0d3d48..102c470d 100644 --- a/windows/window.c +++ b/windows/window.c @@ -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)); }