diff options
author | assarbad <none@none> | 2009-03-14 15:47:59 +0300 |
---|---|---|
committer | assarbad <none@none> | 2009-03-14 15:47:59 +0300 |
commit | befaac24685e65dd86fdcdaa8f1fd83f6c183df9 (patch) | |
tree | 7c991441651b8b3648fa318a97468175e7001075 /windirstat/selectobject.h | |
parent | 69dc18c79933c85644e56792e63a53b051316114 (diff) |
- Gotten rid of numerous warnings
- Still chasing the bug on Vista where some file icons (in the listview) show incorrectly
Diffstat (limited to 'windirstat/selectobject.h')
-rw-r--r-- | windirstat/selectobject.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/windirstat/selectobject.h b/windirstat/selectobject.h index 361ebc1..73d5c54 100644 --- a/windirstat/selectobject.h +++ b/windirstat/selectobject.h @@ -34,7 +34,7 @@ #ifndef __WDS_SELECTOBJECT_H__ #define __WDS_SELECTOBJECT_H__ #pragma once - +#include "stdafx.h" class CSelectObject { @@ -114,9 +114,9 @@ inline BOOL CreateRectRgn(CRgn& rgn, CRect rc) inline COLORREF MakeShadowColor(COLORREF c, int percent) { return RGB( - GetRValue(c) * percent / 100, - GetGValue(c) * percent / 100, - GetBValue(c) * percent / 100 + RGB_GET_RVALUE(c) * percent / 100, + RGB_GET_GVALUE(c) * percent / 100, + RGB_GET_BVALUE(c) * percent / 100 ); } |