Commit d76d00ea authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

gdiplus: Remove an unnecessary picture reference in GdipSaveImageToFile.

parent 59cf9c44
......@@ -1290,9 +1290,6 @@ GpStatus WINGDIPAPI GdipSaveImageToFile(GpImage *image, GDIPCONST WCHAR* filenam
if (!image || !filename|| !clsidEncoder)
return InvalidParameter;
if (!(image->picture))
return InvalidParameter;
stat = GdipCreateStreamOnFile(filename, GENERIC_WRITE, &stream);
if (stat != Ok)
return GenericError;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment