mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 20:36:37 +00:00
[UXTHEME] -Fix parsing negative integers. Improves the situation of the start button with Lautus.
svn path=/trunk/; revision=74022
This commit is contained in:
parent
0448b0da4e
commit
b5fd932bef
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue