projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1355d67
)
If nWidth or nHeight is zero, CreateBitmap returns the handle to a 1- by 1-pixel...
author
Royce Mitchell III
<royce3@ev1.net>
Fri, 20 Feb 2004 07:45:58 +0000
(07:45 +0000)
committer
Royce Mitchell III
<royce3@ev1.net>
Fri, 20 Feb 2004 07:45:58 +0000
(07:45 +0000)
svn path=/trunk/; revision=8276
reactos/subsys/win32k/objects/bitmaps.c
patch
|
blob
|
history
diff --git
a/reactos/subsys/win32k/objects/bitmaps.c
b/reactos/subsys/win32k/objects/bitmaps.c
index
1085bff
..
e8bff7e
100644
(file)
--- a/
reactos/subsys/win32k/objects/bitmaps.c
+++ b/
reactos/subsys/win32k/objects/bitmaps.c
@@
-16,7
+16,7
@@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-/* $Id: bitmaps.c,v 1.5
5 2004/02/19 21:12:10 weiden
Exp $ */
+/* $Id: bitmaps.c,v 1.5
6 2004/02/20 07:45:58 royce
Exp $ */
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdlib.h>
@@
-249,7
+249,8
@@
HBITMAP STDCALL NtGdiCreateBitmap(INT Width,
/* Check parameters */
if (!Height || !Width)
{
- return 0;
+ Width = 1;
+ Height = 1;
}
if (Planes != 1)
{