mirror of
https://github.com/reactos/wine.git
synced 2025-01-26 14:05:07 +00:00
gdiplus: Remove an unnecessary picture reference in GdipSaveImageToFile.
This commit is contained in:
parent
59cf9c449e
commit
d76d00ea7e
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user