Module: wine Branch: master Commit: 435be368e58ffdc033b4ca132f3ca73436881421 URL: https://source.winehq.org/git/wine.git/?a=commit;h=435be368e58ffdc033b4ca132...
Author: Andrey Gusev andrey.goosev@gmail.com Date: Tue Jan 9 13:24:43 2018 +0200
msi: Remove redundant comparison.
Signed-off-by: Andrey Gusev andrey.goosev@gmail.com Signed-off-by: Hans Leidekker hans@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/msi/appsearch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/msi/appsearch.c b/dlls/msi/appsearch.c index bb492f4..693da18 100644 --- a/dlls/msi/appsearch.c +++ b/dlls/msi/appsearch.c @@ -506,7 +506,7 @@ static LPWSTR get_ini_field(LPWSTR buf, int field) while ((end = strchrW(beg, ',')) && i < field) { beg = end + 1; - while (*beg && *beg == ' ') + while (*beg == ' ') beg++;
i++;