mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user