Delphi 2.0 needs to allocate a bitmap bigger than 4096 bits wide.
diff --git a/objects/bitmap.c b/objects/bitmap.c
index d10c7c7..9c276410 100644
--- a/objects/bitmap.c
+++ b/objects/bitmap.c
@@ -212,7 +212,7 @@
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 {