projects
/
wine
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
954303d
)
Delphi 2.0 needs to allocate a bitmap bigger than 4096 bits wide.
author
NF Stevens
<norman@arcady.u-net.com>
Fri, 1 Jan 1999 18:45:03 +0000
(18:45 +0000)
committer
Alexandre Julliard
<julliard@winehq.org>
Fri, 1 Jan 1999 18:45:03 +0000
(18:45 +0000)
objects/bitmap.c
patch
|
blob
|
blame
|
history
diff --git
a/objects/bitmap.c
b/objects/bitmap.c
index
d10c7c7
..
9c27641
100644
(file)
--- 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 > 0x1
000)) {
+ if ((width >
= 0x10000) || (height >= 0x10
000)) {
FIXME(bitmap,"got bad width %d or height %d, please look for reason\n",
width, height );
} else {