Fix the return value of StretchDIBits.

This commit is contained in:
Huw Davies 2003-11-03 22:14:46 +00:00 committed by Alexandre Julliard
parent c346a8be6f
commit dfdb7cf659
1 changed files with 2 additions and 1 deletions

View File

@ -19,6 +19,7 @@
*/ */
#include <assert.h> #include <assert.h>
#include <stdlib.h>
#include "psdrv.h" #include "psdrv.h"
#include "winbase.h" #include "winbase.h"
@ -337,5 +338,5 @@ INT PSDRV_StretchDIBits( PSDRV_PDEVICE *physDev, INT xDst, INT yDst, INT widthDs
PSDRV_WriteSpool(physDev, ">\n", 2); /* End-of-Data for /HexASCIIDecodeFilter */ PSDRV_WriteSpool(physDev, ">\n", 2); /* End-of-Data for /HexASCIIDecodeFilter */
PSDRV_WriteGRestore(physDev); PSDRV_WriteGRestore(physDev);
PSDRV_ResetClip(physDev); PSDRV_ResetClip(physDev);
return TRUE; return abs(heightSrc);
} }