Re: gdiplus: Only clip strings if rectangle width and height are positive.

2013-08-13 Thread Vincent Povirk
>> if (!(format_flags & StringFormatFlagsNoClip) && >> -scaled_rect.Width != 1 << 23 && scaled_rect.Height != 1 << 23) >> +scaled_rect.Width != 1 << 23 && scaled_rect.Height != 1 << 23 && >> +rect->Width > 0.0 && rect->Height > 0.0) >> { >> /* FIXME: If on

Re: gdiplus: Only clip strings if rectangle width and height are positive.

2013-08-13 Thread Dmitry Timoshkov
Vincent Povirk wrote: > if (!(format_flags & StringFormatFlagsNoClip) && > -scaled_rect.Width != 1 << 23 && scaled_rect.Height != 1 << 23) > +scaled_rect.Width != 1 << 23 && scaled_rect.Height != 1 << 23 && > +rect->Width > 0.0 && rect->Height > 0.0) > { >