Skip to content
Snippets Groups Projects
Commit dfdb7cf6 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard
Browse files

Fix the return value of StretchDIBits.

parent c346a8be
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment