From 16f0dfbaa5fb40926eb7d59e60eba86d0b674977 Mon Sep 17 00:00:00 2001 From: NF Stevens Date: Fri, 1 Jan 1999 18:45:03 +0000 Subject: [PATCH] Delphi 2.0 needs to allocate a bitmap bigger than 4096 bits wide. --- objects/bitmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/objects/bitmap.c b/objects/bitmap.c index d10c7c74484..9c27641021f 100644 --- a/objects/bitmap.c +++ b/objects/bitmap.c @@ -212,7 +212,7 @@ HBITMAP32 WINAPI CreateCompatibleBitmap32( HDC32 hdc, INT32 width, INT32 height) TRACE(bitmap, "(%04x,%d,%d) = \n", hdc, width, height ); if (!(dc = DC_GetDCPtr( hdc ))) return 0; - if ((width >0x1000) || (height > 0x1000)) { + if ((width >= 0x10000) || (height >= 0x10000)) { FIXME(bitmap,"got bad width %d or height %d, please look for reason\n", width, height ); } else {