Author: gadamopoulos
Date: Wed Jun 7 08:35:35 2017
New Revision: 74935
URL:
http://svn.reactos.org/svn/reactos?rev=74935&view=rev
Log:
[UXTHEME] -Fix parsing font styles like bold or italic.
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] Wed Jun 7 08:35:35 2017
@@ -963,9 +963,9 @@
return FALSE;
}
start = cur;
- while(cur < lpStringEnd && *cur != ',') cur++;
+ while(cur < lpStringEnd && *cur != '\n'&& *cur !=
',') cur++;
end = cur;
- while(isspace(*end)) end--;
+ while(isspace(*(end-1))) end--;
lstrcpynW(lpBuff, start, min(buffSize, end-start+1));