summaryrefslogtreecommitdiff
path: root/gnu/lib/libreadline/isearch.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/lib/libreadline/isearch.c')
-rw-r--r--gnu/lib/libreadline/isearch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/lib/libreadline/isearch.c b/gnu/lib/libreadline/isearch.c
index be051203335..53bbface2f6 100644
--- a/gnu/lib/libreadline/isearch.c
+++ b/gnu/lib/libreadline/isearch.c
@@ -110,6 +110,7 @@ rl_display_search (search_string, reverse_p, where)
#endif /* NOTDEF */
message[msglen++] = '(';
+ message[msglen] = '\0';
if (reverse_p)
{