gdiplus: The result of a comparison is already a BOOL.
Michael Stefaniuc
mstefani at redhat.de
Wed Apr 1 02:48:48 CDT 2015
---
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;
--
1.9.3
More information about the wine-patches
mailing list