1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-29 17:31:02 +01:00

25761: Mikael Magnusson: newline in getquery()

This commit is contained in:
Peter Stephenson 2008-09-27 23:14:58 +00:00
parent 043959b0be
commit e6dec182d0
2 changed files with 6 additions and 0 deletions

View file

@ -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)) {