commit | 68ce9e925a37eac5c9d972cd29119d39a087d326 | [log] [tgz] |
---|---|---|
author | Vincent Povirk <vincent@codeweavers.com> | Sat Apr 17 12:04:03 2010 -0500 |
committer | Alexandre Julliard <julliard@winehq.org> | Mon Apr 19 14:54:11 2010 +0200 |
tree | 34611146367aff2a7507182f1e3849b574dd5971 | |
parent | 6b53cb27bc51b53c2ce10e7e177c7b74bfd3264a [diff] |
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.