diff --git a/source/src/command.cpp b/source/src/command.cpp index 7df6f66e..dbc99a0f 100644 --- a/source/src/command.cpp +++ b/source/src/command.cpp @@ -922,7 +922,7 @@ void commandcomplete(char *s) } if(*cp == '/' || *cp == ';' - || cp == s && (*cp == ' ' || *cp == '(')) + || (cp == s && (*cp == ' ' || *cp == '('))) { // commandname completion int idx = 0; enumerate(*idents, ident, id,