[UXTHEME] -Fix parsing negative integers. Improves the situation of the start button with Lautus.

svn path=/trunk/; revision=74022
This commit is contained in:
Giannis Adamopoulos 2017-03-02 08:24:20 +00:00
parent 0448b0da4e
commit b5fd932bef

View file

@ -942,7 +942,7 @@ static BOOL MSSTYLES_GetNextInteger(LPCWSTR lpStringStart, LPCWSTR lpStringEnd,
int total = 0;
BOOL gotNeg = FALSE;
while(cur < lpStringEnd && (*cur < '0' || *cur > '9' || *cur == '-')) cur++;
while(cur < lpStringEnd && ((*cur < '0' || *cur > '9') && *cur != '-')) cur++;
if(cur >= lpStringEnd) {
return FALSE;
}