Module: wine Branch: master Commit: 996b451c2df2d133f13d9dfe0b6eedd057460f78 URL: http://source.winehq.org/git/wine.git/?a=commit;h=996b451c2df2d133f13d9dfe0b...
Author: Ruslan Kabatsayev b7.10110111@gmail.com Date: Fri Oct 28 16:19:30 2011 +0400
uxtheme: GetSysColor() expects the same type of argument as GetThemeSysColor().
---
dlls/uxtheme/metric.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/uxtheme/metric.c b/dlls/uxtheme/metric.c index 6f8519e..c056f28 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); }
/***********************************************************************