[05/10] gdiplus: Return error code of the failed API to the caller.
Dmitry Timoshkov
dmitry at baikal.ru
Thu Aug 16 23:41:37 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 e38e055..2870146 100644
--- a/dlls/gdiplus/graphics.c
+++ b/dlls/gdiplus/graphics.c
@@ -3186,7 +3186,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