diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-01 06:54:28 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-01 06:54:28 +0000 |
commit | f3999874e4772bdd8fe6fc8eaa4a3513265ceb92 (patch) | |
tree | b12ee60bedd5dcc224c56f02fc6884ca63cb8711 /win32 | |
parent | c07f1bf06e9d17d0e9804f4e0ae2969cfb7e40d1 (diff) |
* win32/win32.c (isInternalCmd): shouldn't return if find end of str.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r-- | win32/win32.c | 2 |
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) { |