From 467cd12e138e72e3fa2351b65e4138c29b235fcf Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sun, 17 Oct 2010 17:59:27 +0000 Subject: Mikael: 28356: don't increment old display line too far when refreshing --- Src/Zle/zle_refresh.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Src') diff --git a/Src/Zle/zle_refresh.c b/Src/Zle/zle_refresh.c index e0f142198..33a46a2f3 100644 --- a/Src/Zle/zle_refresh.c +++ b/Src/Zle/zle_refresh.c @@ -2089,7 +2089,9 @@ refreshline(int ln) * We check for WEOF inside. */ zputc(nl); - nl++, ol++; + nl++; + if (ol->chr) + ol++; ccs++, vcs++; #ifdef MULTIBYTE_SUPPORT /* -- cgit 1.4.1