uxtheme: GetSysColor() expects the same type of argument as GetThemeSysColor().

This commit is contained in:
Ruslan Kabatsayev 2011-10-28 16:19:30 +04:00 committed by Alexandre Julliard
parent adea3c5dda
commit 996b451c2d

View file

@ -87,7 +87,7 @@ COLORREF WINAPI GetThemeSysColor(HTHEME hTheme, int iColorID)
SetLastError(hr);
}
}
return GetSysColor(iColorID - TMT_FIRSTCOLOR);
return GetSysColor(iColorID);
}
/***********************************************************************