mirror of
https://github.com/reactos/wine.git
synced 2025-02-18 03:48:01 +00:00
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…
x
Reference in New Issue
Block a user