diff --git a/dlls/wineps/bitmap.c b/dlls/wineps/bitmap.c index fa654ffb8c8d40a282ea40cb86b8a0de73467653..c0da3b4bcaab5d79c4de2a50625d56408679803a 100644 --- a/dlls/wineps/bitmap.c +++ b/dlls/wineps/bitmap.c @@ -19,6 +19,7 @@ */ #include <assert.h> +#include <stdlib.h> #include "psdrv.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_WriteGRestore(physDev); PSDRV_ResetClip(physDev); - return TRUE; + return abs(heightSrc); }