X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/2299e1bb723712b33123058cc655ce09ee38b18f..a1659af647d071828022a0c0f30ee975f363b26c:/windows/window.c 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)); }