uxtheme: GetSysColor() expects the same type of argument as GetThemeSysColor().
This commit is contained in:
parent
adea3c5dda
commit
996b451c2d
|
@ -87,7 +87,7 @@ COLORREF WINAPI GetThemeSysColor(HTHEME hTheme, int iColorID)
|
|||
SetLastError(hr);
|
||||
}
|
||||
}
|
||||
return GetSysColor(iColorID - TMT_FIRSTCOLOR);
|
||||
return GetSysColor(iColorID);
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
|
|
Loading…
Reference in New Issue