[4/7] gdiplus: Return error code of the failed API to the caller. Resend.

Dmitry Timoshkov dmitry at baikal.ru
Sun Aug 19 22:08:05 CDT 2012


---
 dlls/gdiplus/graphics.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c
index a04446b..e46cf48 100644
--- a/dlls/gdiplus/graphics.c
+++ b/dlls/gdiplus/graphics.c
@@ -3188,7 +3188,7 @@ GpStatus WINGDIPAPI GdipDrawImagePointsRect(GpGraphics *graphics, GpImage *image
                     GdipFree(src_data);
                 GdipFree(dst_data);
                 GdipDeleteMatrix(dst_to_src);
-                return OutOfMemory;
+                return stat;
             }
 
             apply_image_attributes(imageAttributes, src_data,
-- 
1.7.11.5




More information about the wine-patches mailing list