Commit e81ff99c authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

gdiplus: The result of a comparison is already a BOOL.

parent 8fab1cdc
...@@ -3918,8 +3918,7 @@ static GpStatus decode_image_gif(IStream* stream, GpImage **image) ...@@ -3918,8 +3918,7 @@ static GpStatus decode_image_gif(IStream* stream, GpImage **image)
if(FAILED(hr)) if(FAILED(hr))
return hresult_to_status(hr); return hresult_to_status(hr);
status = decode_frame_wic(decoder, frame_count>1 ? TRUE : FALSE, status = decode_frame_wic(decoder, frame_count > 1, 0, gif_metadata_reader, image);
0, gif_metadata_reader, image);
IWICBitmapDecoder_Release(decoder); IWICBitmapDecoder_Release(decoder);
if(status != Ok) if(status != Ok)
return status; return status;
......
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