Module: wine Branch: master Commit: e81ff99c72b88c32be7d9bdde6702c4ff517063c URL: http://source.winehq.org/git/wine.git/?a=commit;h=e81ff99c72b88c32be7d9bdde6...
Author: Michael Stefaniuc mstefani@redhat.de Date: Wed Apr 1 09:48:48 2015 +0200
gdiplus: The result of a comparison is already a BOOL.
---
dlls/gdiplus/image.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c index de03096..cda6a51 100644 --- a/dlls/gdiplus/image.c +++ b/dlls/gdiplus/image.c @@ -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;