uxtheme: Fix a copy-paste error which mean that GetThemeString would always fail.

This commit is contained in:
Mark Harmstone 2015-04-09 23:45:51 +01:00 committed by Alexandre Julliard
parent c6b999b901
commit a1c3b30f49
1 changed files with 1 additions and 1 deletions

View File

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