about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Src/Zle/zle_refresh.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 12481c300..9c289f00e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-05-08  Peter Stephenson  <pws@csr.com>
+
+	* 26948: Src/Zle/zle_refresh.c: ensure recorded window sizes
+	are reset when video data is freed.
+
 2009-05-07  Peter Stephenson  <pws@csr.com>
 
 	* 26945: Src/builtin.c, Test/D07multibyte.ztst: read should
@@ -11666,5 +11671,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4678 $
+* $Revision: 1.4679 $
 *****************************************************
diff --git a/Src/Zle/zle_refresh.c b/Src/Zle/zle_refresh.c
index 8fb2dff34..cfcfed3da 100644
--- a/Src/Zle/zle_refresh.c
+++ b/Src/Zle/zle_refresh.c
@@ -699,6 +699,8 @@ freevideo(void)
 #endif
 	nbuf = NULL;
 	obuf = NULL;
+	winw_alloc = -1;
+	winh_alloc = -1;
     }
 }