Commit 5687823c authored by Lionel Ulmer's avatar Lionel Ulmer Committed by Alexandre Julliard

Fixed the size of the large_handles array.

parent ef7a5c1b
......@@ -360,7 +360,7 @@ BOOL GDI_Init(void)
}
#define FIRST_LARGE_HANDLE 16
#define MAX_LARGE_HANDLES ((GDI_HEAP_SIZE - FIRST_LARGE_HANDLE) >> 2)
#define MAX_LARGE_HANDLES ((GDI_HEAP_SIZE >> 2) - FIRST_LARGE_HANDLE)
static GDIOBJHDR *large_handles[MAX_LARGE_HANDLES];
static int next_large_handle;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment