Author: cwittich Date: Sat Aug 22 18:40:59 2015 New Revision: 68795
URL: http://svn.reactos.org/svn/reactos?rev=68795&view=rev Log: [UXTHEME] Fix bug preventing GetThemeString from working (patch by Mark Harmstone)
Modified: trunk/reactos/dll/win32/uxtheme/property.c
Modified: trunk/reactos/dll/win32/uxtheme/property.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/uxtheme/property.... ============================================================================== --- trunk/reactos/dll/win32/uxtheme/property.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/uxtheme/property.c [iso-8859-1] Sat Aug 22 18:40:59 2015 @@ -194,7 +194,7 @@ 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); }