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

oldstable
Michael Stefaniuc 2015-04-01 09:48:48 +02:00 committed by Alexandre Julliard
parent 8fab1cdc74
commit e81ff99c72
1 changed files with 1 additions and 2 deletions

View File

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