projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sync to trunk (44770)
[reactos.git]
/
reactos
/
dll
/
win32
/
user32
/
windows
/
draw.c
diff --git
a/reactos/dll/win32/user32/windows/draw.c
b/reactos/dll/win32/user32/windows/draw.c
index
cb67e30
..
2eb68d1
100644
(file)
--- a/
reactos/dll/win32/user32/windows/draw.c
+++ b/
reactos/dll/win32/user32/windows/draw.c
@@
-1574,7
+1574,7
@@
FillRect(HDC hDC, CONST RECT *lprc, HBRUSH hbr)
if (hbr <= (HBRUSH)(COLOR_MENUBAR + 1))
{
- hbr = GetSysColorBrush(
(int)hbr
- 1);
+ hbr = GetSysColorBrush(
PtrToUlong(hbr)
- 1);
}
if ((prevhbr = SelectObject(hDC, hbr)) == NULL)
{