about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-03-04 21:40:37 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-03-04 21:40:37 +0000
commit7fb20a71cbfe0667f8b664e8a886032fd8a43dc7 (patch)
tree95a276942f7f1c809978b17691abc7a0f37016a2
parentd4c948bdd024ca7d9de692696bd5a3c716aed12d (diff)
downloadzsh-7fb20a71cbfe0667f8b664e8a886032fd8a43dc7.tar.gz
zsh-7fb20a71cbfe0667f8b664e8a886032fd8a43dc7.tar.xz
zsh-7fb20a71cbfe0667f8b664e8a886032fd8a43dc7.zip
correct 20928
-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');
 	}
     }