mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-14 20:15:39 +00:00
msiexec: Fix initial state of the argument parsing state machine.
This commit is contained in:
parent
783b855f42
commit
8d7fc61717
|
@ -388,9 +388,9 @@ enum chomp_state
|
||||||
|
|
||||||
static int chomp( WCHAR *str )
|
static int chomp( WCHAR *str )
|
||||||
{
|
{
|
||||||
enum chomp_state state = cs_whitespace;
|
enum chomp_state state = cs_token;
|
||||||
WCHAR *p, *out;
|
WCHAR *p, *out;
|
||||||
int count = 0, ignore;
|
int count = 1, ignore;
|
||||||
|
|
||||||
for( p = str, out = str; *p; p++ )
|
for( p = str, out = str; *p; p++ )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue