[uxtheme] Correct SetLastError for IsThemeActive
Paul Vriens
Paul.Vriens at xs4all.nl
Fri Jun 9 06:01:50 CDT 2006
Hi,
IsThemeActive always sets last error to S_OK regardless of an active
theme. (tests have been submitted but not committed).
Changelog
Last error is always set to S_OK
Cheers,
Paul.
diff --git a/dlls/uxtheme/system.c b/dlls/uxtheme/system.c
index c834c52..216fe12 100644
--- a/dlls/uxtheme/system.c
+++ b/dlls/uxtheme/system.c
@@ -501,6 +501,8 @@ BOOL WINAPI IsAppThemed(void)
BOOL WINAPI IsThemeActive(void)
{
TRACE("\n");
+
+ SetLastError(S_OK);
return bThemeActive;
}
More information about the wine-patches
mailing list