summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Src/Zle/zle_refresh.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d6caea956..0e5c530da 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2005-03-04  Peter Stephenson  <pws@pwstephenson.fsnet.co.uk>
 
+	* unposted: Src/Zle/zle_refresh.c: correct deliberate mistake.
+
 	* 20928: Src/Zle/zle_refresh.c: null terminate lines so that they
 	can be compared reliably.
 
diff --git a/Src/Zle/zle_refresh.c b/Src/Zle/zle_refresh.c
index 38e6a38e8..b45047ac2 100644
--- a/Src/Zle/zle_refresh.c
+++ b/Src/Zle/zle_refresh.c
@@ -198,7 +198,7 @@ resetvideo(void)
 	if (obuf[ln])
 	{
 	    obuf[ln][0] = ZWC('\n');
-	    obuf[ln][0] = ZWC('\0');
+	    obuf[ln][1] = ZWC('\0');
 	}
     }