fix return value of wineps StretchDIBits

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



        Huw Davies <huw@xxxxxxxxxxxxxxx>
        Fix the return value of StretchDIBits.
-- 
Huw Davies
huw@xxxxxxxxxxxxxxx
Index: dlls/wineps/bitmap.c
===================================================================
RCS file: /home/wine/wine/dlls/wineps/bitmap.c,v
retrieving revision 1.9
diff -u -r1.9 bitmap.c
--- dlls/wineps/bitmap.c	19 May 2003 19:06:47 -0000	1.9
+++ dlls/wineps/bitmap.c	3 Nov 2003 17:39:48 -0000
@@ -19,6 +19,7 @@
  */
 
 #include <assert.h>
+#include <stdlib.h>
 
 #include "psdrv.h"
 #include "winbase.h"
@@ -337,5 +338,5 @@
     PSDRV_WriteSpool(physDev, ">\n", 2);  /* End-of-Data for /HexASCIIDecodeFilter */
     PSDRV_WriteGRestore(physDev);
     PSDRV_ResetClip(physDev);
-    return TRUE;
+    return abs(heightSrc);
 }


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux