projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4048935
)
[GDI32] Fix up GdiFixUpHandle
author
Timo Kreuzer
<timo.kreuzer@reactos.org>
Sat, 4 Jan 2020 12:58:06 +0000
(13:58 +0100)
committer
Timo Kreuzer
<timo.kreuzer@reactos.org>
Sat, 31 Oct 2020 13:24:09 +0000
(14:24 +0100)
win32ss/gdi/gdi32/misc/misc.c
patch
|
blob
|
history
diff --git
a/win32ss/gdi/gdi32/misc/misc.c
b/win32ss/gdi/gdi32/misc/misc.c
index
04be375
..
5382c67
100644
(file)
--- a/
win32ss/gdi/gdi32/misc/misc.c
+++ b/
win32ss/gdi/gdi32/misc/misc.c
@@
-745,7
+745,7
@@
GdiFixUpHandle(HGDIOBJ hGdiObj)
Entry = GdiHandleTable + GDI_HANDLE_GET_INDEX(hGdiObj);
/* Rebuild handle for Object */
- return
hGdiObj = (HGDIOBJ)(((
LONG_PTR)(hGdiObj)) | (Entry->Type << GDI_ENTRY_UPPER_SHIFT));
+ return
(HGDIOBJ)(((U
LONG_PTR)(hGdiObj)) | (Entry->Type << GDI_ENTRY_UPPER_SHIFT));
}
/*