summaryrefslogtreecommitdiff
path: root/ext/readline/readline.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/readline/readline.c')
-rw-r--r--ext/readline/readline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/readline/readline.c b/ext/readline/readline.c
index 894ee58..31a0b94 100644
--- a/ext/readline/readline.c
+++ b/ext/readline/readline.c
@@ -251,7 +251,7 @@ insert_ignore_escape(VALUE self, VALUE prompt)
s0 = s;
break;
}
- else if (!('0' <= *s && *s <= '9' || *s == ';')) {
+ else if (!(('0' <= *s && *s <= '9') || *s == ';')) {
break;
}
}