mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
Fix build.
svn path=/trunk/; revision=26558
This commit is contained in:
parent
57b3bc520a
commit
495edaf0e6
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ STDCALL
|
||||||
GdiFixUpHandle(HGDIOBJ hGdiObj)
|
GdiFixUpHandle(HGDIOBJ hGdiObj)
|
||||||
{
|
{
|
||||||
if (((ULONG_PTR)(hGdiObj)) & GDI_HANDLE_UPPER_MASK ) return hGdiObj;
|
if (((ULONG_PTR)(hGdiObj)) & GDI_HANDLE_UPPER_MASK ) return hGdiObj;
|
||||||
PGDI_TABLE_ENTRY Entry = GdiHandleTable + GDI_HANDLE_TO_ENTRY(hGdiObj);
|
PGDI_TABLE_ENTRY Entry = GdiHandleTable + GDI_HANDLE_GET_INDEX(hGdiObj);
|
||||||
return hGdiObj = (HGDIOBJ)(((LONG_PTR)(hGdiObj)) |
|
return hGdiObj = (HGDIOBJ)(((LONG_PTR)(hGdiObj)) |
|
||||||
(Entry->Type << 16)); // Rebuild handle for Object
|
(Entry->Type << 16)); // Rebuild handle for Object
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue