uxtheme: Fix a copy-paste error which mean that GetThemeString would always fail.
This commit is contained in:
parent
c6b999b901
commit
a1c3b30f49
|
@ -210,7 +210,7 @@ HRESULT WINAPI GetThemeString(HTHEME hTheme, int iPartId, int iStateId,
|
|||
if(!hTheme)
|
||||
return E_HANDLE;
|
||||
|
||||
if(!(tp = MSSTYLES_FindProperty(hTheme, iPartId, iStateId, TMT_FILENAME, iPropId)))
|
||||
if(!(tp = MSSTYLES_FindProperty(hTheme, iPartId, iStateId, TMT_STRING, iPropId)))
|
||||
return E_PROP_ID_UNSUPPORTED;
|
||||
return MSSTYLES_GetPropertyString(tp, pszBuff, cchMaxBuffChars);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue