gdiplus: Prevent integer overflows when rounding text bounds.
commit68ce9e925a37eac5c9d972cd29119d39a087d326
authorVincent Povirk <vincent@codeweavers.com>
Sat, 17 Apr 2010 17:04:03 +0000 (17 12:04 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 19 Apr 2010 12:54:11 +0000 (19 14:54 +0200)
tree34611146367aff2a7507182f1e3849b574dd5971
parent6b53cb27bc51b53c2ce10e7e177c7b74bfd3264a
gdiplus: Prevent integer overflows when rounding text bounds.

Mono calls GdipMeasureString with a height so large that rounding and
converting it to an integer gives a negative result.
dlls/gdiplus/graphics.c