From fadbd546fc2906dd3d12666a0ae72a1e9b292f5a Mon Sep 17 00:00:00 2001
From: Jacob Nevins <jacobn@chiark.greenend.org.uk>
Date: Sun, 17 Jul 2011 22:35:08 +0000
Subject: [PATCH] Fix a typo in r9214 that plausibly explains a resizing
 weirdness I had with today's snapshot on Windows.

[originally from svn r9230]
[r9214 == a1f3b7a358adaa7c2a98359cd0373aa823eeb14b]
---
 windows/window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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