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

oldstable
Ruslan Kabatsayev 2011-10-28 16:19:30 +04:00 committed by Alexandre Julliard
parent adea3c5dda
commit 996b451c2d
1 changed files with 1 additions and 1 deletions

View File

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