From 01fca10b83a4c8db58b04cf467d4f7332125ce22 Mon Sep 17 00:00:00 2001 From: Christoph von Wittich Date: Sat, 22 Aug 2015 18:40:59 +0000 Subject: [PATCH] [UXTHEME] Fix bug preventing GetThemeString from working (patch by Mark Harmstone) svn path=/trunk/; revision=68795 --- reactos/dll/win32/uxtheme/property.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/dll/win32/uxtheme/property.c b/reactos/dll/win32/uxtheme/property.c index f3e1c1295a6..bb76232aca2 100644 --- a/reactos/dll/win32/uxtheme/property.c +++ b/reactos/dll/win32/uxtheme/property.c @@ -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); }