about summary refs log tree commit diff
path: root/Src/utils.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-09-27 23:14:58 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-09-27 23:14:58 +0000
commite6dec182d0b3184476a8ac260c0e798f29611f55 (patch)
tree864f10de13d6c7cb855e572ae0fdda9cebce3d6b /Src/utils.c
parent043959b0be340e0918b33a47859249b04abe7b21 (diff)
downloadzsh-e6dec182d0b3184476a8ac260c0e798f29611f55.tar.gz
zsh-e6dec182d0b3184476a8ac260c0e798f29611f55.tar.xz
zsh-e6dec182d0b3184476a8ac260c0e798f29611f55.zip
25761: Mikael Magnusson: newline in getquery()
Diffstat (limited to 'Src/utils.c')
-rw-r--r--Src/utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/utils.c b/Src/utils.c
index 24a643ef2..fadf46470 100644
--- a/Src/utils.c
+++ b/Src/utils.c
@@ -2175,6 +2175,7 @@ getquery(char *valid_chars, int purge)
 	    break;
 	if (c == '\n') {
 	    c = *valid_chars;
+	    nl = 1;
 	    break;
 	}
 	if (strchr(valid_chars, c)) {