Skip tabs in wcmd.

This commit is contained in:
Brian Grayson 2005-10-03 10:16:48 +00:00 committed by Alexandre Julliard
parent f09eb790c9
commit 3ec24a6ffd
1 changed files with 2 additions and 1 deletions

View File

@ -751,6 +751,7 @@ int p = 0;
*q = '\0';
break;
case ' ':
case '\t':
s++;
break;
case '"':
@ -768,7 +769,7 @@ int p = 0;
case '\0':
return;
default:
while ((*s != '\0') && (*s != ' ')) {
while ((*s != '\0') && (*s != ' ') && (*s != '\t')) {
if (p == 0) *p1++ = *s++;
else if (p == 1) *p2++ = *s++;
else s++;