summaryrefslogtreecommitdiff
path: root/readline/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'readline/input.c')
-rw-r--r--readline/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/readline/input.c b/readline/input.c
index 3b48483d262..2813c1b9903 100644
--- a/readline/input.c
+++ b/readline/input.c
@@ -368,7 +368,7 @@ rl_read_key ()
else
{
/* If input is coming from a macro, then use that. */
- if (c = _rl_next_macro_key ())
+ if ((c = _rl_next_macro_key ()))
return (c);
/* If the user has an event function, then call it periodically. */