Alexandre Julliard : msiexec: Fix initial state of the argument parsing state machine.
Alexandre Julliard
julliard at winehq.org
Thu Oct 23 08:38:11 CDT 2008
Module: wine
Branch: master
Commit: 8d7fc617177e0593fd6d0461fc6c9e74be41fe00
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8d7fc617177e0593fd6d0461fc6c9e74be41fe00
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Oct 23 12:53:47 2008 +0200
msiexec: Fix initial state of the argument parsing state machine.
---
programs/msiexec/msiexec.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/programs/msiexec/msiexec.c b/programs/msiexec/msiexec.c
index 9649d82..7b00eb7 100644
--- a/programs/msiexec/msiexec.c
+++ b/programs/msiexec/msiexec.c
@@ -388,9 +388,9 @@ enum chomp_state
static int chomp( WCHAR *str )
{
- enum chomp_state state = cs_whitespace;
+ enum chomp_state state = cs_token;
WCHAR *p, *out;
- int count = 0, ignore;
+ int count = 1, ignore;
for( p = str, out = str; *p; p++ )
{
More information about the wine-cvs
mailing list