summaryrefslogtreecommitdiff
path: root/src/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/input.c')
-rw-r--r--src/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input.c b/src/input.c
index dbfd5db..df94d84 100644
--- a/src/input.c
+++ b/src/input.c
@@ -426,7 +426,7 @@ get_more_input (char *prompt, char *preinput,
char *final_input;
edit_status status;
-#ifdef HAVE_READLINE_HISTORY_H
+#ifdef HAVE_HISTORY
history_reset();
#endif /* HAVE_READLINE_HISTORY_H */