Fixed the size of the large_handles array.

This commit is contained in:
Lionel Ulmer 2000-11-29 17:42:20 +00:00 committed by Alexandre Julliard
parent ef7a5c1b8c
commit 5687823cbb
1 changed files with 1 additions and 1 deletions

View File

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