about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
Diffstat (limited to 'Src')
-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)) {