Author: gadamopoulos
Date: Tue Oct 18 20:18:19 2011
New Revision: 54193
URL:
http://svn.reactos.org/svn/reactos?rev=54193&view=rev
Log:
[uxtheme]
- Fix a stupid typo that caused all fonts defined in the theme file to be 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] Tue Oct 18 20:18:19 2011
@@ -1254,9 +1254,9 @@
pFont->lfCharSet = DEFAULT_CHARSET;
while(MSSTYLES_GetNextToken(lpCur, lpEnd, &lpCur, attr,
sizeof(attr)/sizeof(attr[0]))) {
if(!lstrcmpiW(szBold, attr)) pFont->lfWeight = FW_BOLD;
- else if(!!lstrcmpiW(szItalic, attr)) pFont->lfItalic = TRUE;
- else if(!!lstrcmpiW(szUnderline, attr)) pFont->lfUnderline = TRUE;
- else if(!!lstrcmpiW(szStrikeOut, attr)) pFont->lfStrikeOut = TRUE;
+ else if(!lstrcmpiW(szItalic, attr)) pFont->lfItalic = TRUE;
+ else if(!lstrcmpiW(szUnderline, attr)) pFont->lfUnderline = TRUE;
+ else if(!lstrcmpiW(szStrikeOut, attr)) pFont->lfStrikeOut = TRUE;
}
*lpValEnd = lpCur;
return S_OK;