Author: gadamopoulos Date: Thu Mar 2 08:24:20 2017 New Revision: 74022
URL: http://svn.reactos.org/svn/reactos?rev=74022&view=rev Log: [UXTHEME] -Fix parsing negative integers. Improves the situation of the start button with Lautus.
Modified: trunk/reactos/dll/win32/uxtheme/msstyles.c
Modified: trunk/reactos/dll/win32/uxtheme/msstyles.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/uxtheme/msstyles.... ============================================================================== --- trunk/reactos/dll/win32/uxtheme/msstyles.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/uxtheme/msstyles.c [iso-8859-1] Thu Mar 2 08:24:20 2017 @@ -942,7 +942,7 @@ 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; }