mirror of
https://github.com/reactos/reactos.git
synced 2025-01-06 06:20:13 +00:00
[uxtheme]
- Fix a stupid typo that caused all fonts defined in the theme file to be italic svn path=/trunk/; revision=54193
This commit is contained in:
parent
4a58461a9e
commit
dddc64fe69
1 changed files with 3 additions and 3 deletions
|
@ -1254,9 +1254,9 @@ static HRESULT MSSTYLES_GetFont (LPCWSTR lpCur, LPCWSTR lpEnd,
|
||||||
pFont->lfCharSet = DEFAULT_CHARSET;
|
pFont->lfCharSet = DEFAULT_CHARSET;
|
||||||
while(MSSTYLES_GetNextToken(lpCur, lpEnd, &lpCur, attr, sizeof(attr)/sizeof(attr[0]))) {
|
while(MSSTYLES_GetNextToken(lpCur, lpEnd, &lpCur, attr, sizeof(attr)/sizeof(attr[0]))) {
|
||||||
if(!lstrcmpiW(szBold, attr)) pFont->lfWeight = FW_BOLD;
|
if(!lstrcmpiW(szBold, attr)) pFont->lfWeight = FW_BOLD;
|
||||||
else if(!!lstrcmpiW(szItalic, attr)) pFont->lfItalic = TRUE;
|
else if(!lstrcmpiW(szItalic, attr)) pFont->lfItalic = TRUE;
|
||||||
else if(!!lstrcmpiW(szUnderline, attr)) pFont->lfUnderline = TRUE;
|
else if(!lstrcmpiW(szUnderline, attr)) pFont->lfUnderline = TRUE;
|
||||||
else if(!!lstrcmpiW(szStrikeOut, attr)) pFont->lfStrikeOut = TRUE;
|
else if(!lstrcmpiW(szStrikeOut, attr)) pFont->lfStrikeOut = TRUE;
|
||||||
}
|
}
|
||||||
*lpValEnd = lpCur;
|
*lpValEnd = lpCur;
|
||||||
return S_OK;
|
return S_OK;
|
||||||
|
|
Loading…
Reference in a new issue