about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2006-08-14 13:29:29 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2006-08-14 13:29:29 +0000
commitf2dbedcc4f878e4eb35f72899feec7593d920c5a (patch)
tree91f64b0076aaebf93ad886a6ecec78614c9de4b1 /Src
parent227448bbe963825705b1a6d021020fb2a7bb5fac (diff)
downloadzsh-f2dbedcc4f878e4eb35f72899feec7593d920c5a.tar.gz
zsh-f2dbedcc4f878e4eb35f72899feec7593d920c5a.tar.xz
zsh-f2dbedcc4f878e4eb35f72899feec7593d920c5a.zip
22605: bug in complist wide character fixes introduced infinite loop
Diffstat (limited to 'Src')
-rw-r--r--Src/Zle/complist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c
index d982b22ce..651a22b68 100644
--- a/Src/Zle/complist.c
+++ b/Src/Zle/complist.c
@@ -1069,6 +1069,8 @@ compprintfmt(char *fmt, int n, int dopr, int doesc, int ml, int *stop)
 		    return mlprinted;
 		}
 	    }
+	    else
+		p += len;
 	}
     }
     if (dopr) {