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: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b284f13836
commit
4161f5120b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue