Commit 4161f512 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

gdi32: Increase first gdi handle value.

Due to 32->16bit handle truncation low enough handle values could be misinterpreted as stock brushes indices in FillRect(). Signed-off-by: 's avatarNikolay Sivov <nsivov@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent b284f138
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(gdi); WINE_DEFAULT_DEBUG_CHANNEL(gdi);
#define FIRST_GDI_HANDLE 16 #define FIRST_GDI_HANDLE 32
#define MAX_GDI_HANDLES 16384 #define MAX_GDI_HANDLES 16384
struct hdc_list struct hdc_list
......
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