[UXTHEME] Fix bug preventing GetThemeString from working (patch by Mark Harmstone)

svn path=/trunk/; revision=68795
This commit is contained in:
Christoph von Wittich 2015-08-22 18:40:59 +00:00
parent a120e4e492
commit 01fca10b83

View file

@ -194,7 +194,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);
}