commit | 5687823cbb1a95e9b00a0a6eb69de8d2b9a9b61b | [log] [tgz] |
---|---|---|
author | Lionel Ulmer <lionel.ulmer@free.fr> | Wed Nov 29 17:42:20 2000 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Wed Nov 29 17:42:20 2000 +0000 |
tree | f93afcfabae81711b8b682bc21a7d6f879fd618d | |
parent | ef7a5c1b8c239e7234333731d6603a426a9e2f78 [diff] [blame] |
Fixed the size of the large_handles array.
diff --git a/objects/gdiobj.c b/objects/gdiobj.c index 868c618..f84ad5f 100644 --- a/objects/gdiobj.c +++ b/objects/gdiobj.c
@@ -360,7 +360,7 @@ } #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;