mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 20:05:41 +00:00
- Use absolute value of width in NtGdiCreateBitmap.
svn path=/trunk/; revision=11735
This commit is contained in:
parent
375d7004a4
commit
dcdb5fefb0
1 changed files with 2 additions and 2 deletions
|
@ -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.80 2004/10/23 19:17:54 gvg Exp $ */
|
||||
/* $Id: bitmaps.c,v 1.81 2004/11/21 10:55:29 navaraf Exp $ */
|
||||
#include <w32k.h>
|
||||
|
||||
#define IN_RECT(r,x,y) \
|
||||
|
@ -355,7 +355,7 @@ NtGdiCreateBitmap(
|
|||
}
|
||||
else
|
||||
{
|
||||
Size.cx = Width;
|
||||
Size.cx = abs(Width);
|
||||
Size.cy = abs(Height);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue