summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/callint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/callint.c b/src/callint.c
index 724e37f6b38..11c18b3f97f 100644
--- a/src/callint.c
+++ b/src/callint.c
@@ -370,7 +370,7 @@ Otherwise, this is done only if an arg is read using the minibuffer.")
/* Note that `+' is reserved for user extensions. */
while (1)
{
- if (*string = '+')
+ if (*string == '+')
error ("`+' is not used in `interactive' for ordinary commands");
else if (*string == '*')
{