Fixed the size of the large_handles array.
This commit is contained in:
parent
ef7a5c1b8c
commit
5687823cbb
|
@ -360,7 +360,7 @@ BOOL GDI_Init(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
#define FIRST_LARGE_HANDLE 16
|
#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 GDIOBJHDR *large_handles[MAX_LARGE_HANDLES];
|
||||||
static int next_large_handle;
|
static int next_large_handle;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue