mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 13:01:40 +00:00
[UXTHEME] Fix bug preventing GetThemeString from working (patch by Mark Harmstone)
svn path=/trunk/; revision=68795
This commit is contained in:
parent
a120e4e492
commit
01fca10b83
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue