cmd.exe: Fix incorrect check in WCMD_HandleTildaModifiers().

This commit is contained in:
Gerald Pfeifer 2009-06-15 19:05:33 +02:00 committed by Alexandre Julliard
parent b3a5755310
commit 008edf4572

View file

@ -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;