cmd.exe: Fix incorrect check in WCMD_HandleTildaModifiers().
This commit is contained in:
parent
b3a5755310
commit
008edf4572
|
@ -366,7 +366,7 @@ void WCMD_HandleTildaModifiers(WCHAR **start, WCHAR *forVariable, WCHAR *forValu
|
|||
WINE_TRACE("Looking backwards for parameter id: %s / %s\n",
|
||||
wine_dbgstr_w(lastModifier), wine_dbgstr_w(forVariable));
|
||||
|
||||
if (!justFors && context && (*lastModifier >= '0' || *lastModifier <= '9')) {
|
||||
if (!justFors && context && (*lastModifier >= '0' && *lastModifier <= '9')) {
|
||||
/* Its a valid parameter identifier - OK */
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue