summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/zle_refresh.c2
1 files changed, 1 insertions, 1 deletions
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');
 	}
     }