gdiplus: Return error code of the failed API to the caller.

This commit is contained in:
Dmitry Timoshkov 2012-08-20 12:08:05 +09:00 committed by Alexandre Julliard
parent e9aef40c26
commit 62724c9d57
1 changed files with 1 additions and 1 deletions

View File

@ -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,