Commit 3ec24a6f authored by Brian Grayson's avatar Brian Grayson Committed by Alexandre Julliard

Skip tabs in wcmd.

parent f09eb790
...@@ -751,6 +751,7 @@ int p = 0; ...@@ -751,6 +751,7 @@ int p = 0;
*q = '\0'; *q = '\0';
break; break;
case ' ': case ' ':
case '\t':
s++; s++;
break; break;
case '"': case '"':
...@@ -768,7 +769,7 @@ int p = 0; ...@@ -768,7 +769,7 @@ int p = 0;
case '\0': case '\0':
return; return;
default: default:
while ((*s != '\0') && (*s != ' ')) { while ((*s != '\0') && (*s != ' ') && (*s != '\t')) {
if (p == 0) *p1++ = *s++; if (p == 0) *p1++ = *s++;
else if (p == 1) *p2++ = *s++; else if (p == 1) *p2++ = *s++;
else s++; else s++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment