mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
gdiplus: Fix height calculation.
Spotted by Roman Shchekin.
This commit is contained in:
parent
05e18862cb
commit
6b7ccdb734
1 changed files with 1 additions and 1 deletions
|
@ -4329,7 +4329,7 @@ GpStatus gdip_format_string(HDC hdc,
|
|||
nheight = roundr(rect->Height);
|
||||
|
||||
if (rect->Width >= INT_MAX || rect->Width < 0.5) nwidth = INT_MAX;
|
||||
if (rect->Height >= INT_MAX || rect->Width < 0.5) nheight = INT_MAX;
|
||||
if (rect->Height >= INT_MAX || rect->Height < 0.5) nheight = INT_MAX;
|
||||
|
||||
for(i = 0, j = 0; i < length; i++){
|
||||
/* FIXME: This makes the indexes passed to callback inaccurate. */
|
||||
|
|
Loading…
Reference in a new issue