aboutsummaryrefslogtreecommitdiffstats
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c
index 881f1597fa..b871bafd62 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -526,7 +526,7 @@ isInternalCmd(const char *cmd)
while (isalpha(c)) {
*b++ = tolower(c);
if (b == cmdname + sizeof(cmdname)) return 0;
- if (!(c = *cmd++)) return 0;
+ c = *cmd++;
}
if (c == '.') c = *cmd;
switch (c) {