Fix build.

svn path=/trunk/; revision=26558
This commit is contained in:
James Tabor 2007-04-28 07:05:13 +00:00
parent 57b3bc520a
commit 495edaf0e6

View file

@ -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
} }