From 996b451c2df2d133f13d9dfe0b6eedd057460f78 Mon Sep 17 00:00:00 2001 From: Ruslan Kabatsayev Date: Fri, 28 Oct 2011 16:19:30 +0400 Subject: [PATCH] uxtheme: GetSysColor() expects the same type of argument as GetThemeSysColor(). --- dlls/uxtheme/metric.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/uxtheme/metric.c b/dlls/uxtheme/metric.c index 6f8519eb2c2..c056f281289 100644 --- a/dlls/uxtheme/metric.c +++ b/dlls/uxtheme/metric.c @@ -87,7 +87,7 @@ COLORREF WINAPI GetThemeSysColor(HTHEME hTheme, int iColorID) SetLastError(hr); } } - return GetSysColor(iColorID - TMT_FIRSTCOLOR); + return GetSysColor(iColorID); } /***********************************************************************