Mark Harmstone : uxtheme: Fix typo making fonts italic.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Apr 13 07:42:01 CDT 2015
Module: wine
Branch: master
Commit: 9f622f1fa6f34f81dd38cd5e7aef0865fe15666d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9f622f1fa6f34f81dd38cd5e7aef0865fe15666d
Author: Mark Harmstone <hellas at burntcomma.com>
Date: Sat Apr 11 20:12:04 2015 +0100
uxtheme: Fix typo making fonts italic.
---
dlls/uxtheme/msstyles.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/uxtheme/msstyles.c b/dlls/uxtheme/msstyles.c
index b557314..e62b95d 100644
--- a/dlls/uxtheme/msstyles.c
+++ b/dlls/uxtheme/msstyles.c
@@ -1268,9 +1268,9 @@ static HRESULT MSSTYLES_GetFont (LPCWSTR lpCur, LPCWSTR lpEnd,
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;
More information about the wine-cvs
mailing list