diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Src/utils.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 145420cc0..e31d700b0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-09-28 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Mikael Magnusson: Src/utils.c: newline in getquery() is + treated as n but should also behave like a newline. duh. + 2008-09-27 Peter Stephenson <p.w.stephenson@ntlworld.com> * 25760: Doc/Zsh/expn.yo, Src/subst.c, Test/D04parameter.ztst: 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)) { |