Mark Harmstone : uxtheme: Fix a copy-paste error which mean that GetThemeString would always fail.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Apr 10 08:56:26 CDT 2015
Module: wine
Branch: master
Commit: a1c3b30f491f978206e5caa2f03f636e9c2d85d0
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a1c3b30f491f978206e5caa2f03f636e9c2d85d0
Author: Mark Harmstone <hellas at burntcomma.com>
Date: Thu Apr 9 23:45:51 2015 +0100
uxtheme: Fix a copy-paste error which mean that GetThemeString would always fail.
---
dlls/uxtheme/property.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/uxtheme/property.c b/dlls/uxtheme/property.c
index 146649e..9dffbdd 100644
--- a/dlls/uxtheme/property.c
+++ b/dlls/uxtheme/property.c
@@ -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);
}
More information about the wine-cvs
mailing list