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)); }