mirror of
https://github.com/reactos/wine.git
synced 2025-02-21 13:23:25 +00:00
gdiplus: Fix typo in GdipCreateMetafileFromWmf.
This commit is contained in:
parent
53a3307983
commit
c38d334266
@ -1263,7 +1263,7 @@ GpStatus WINGDIPAPI GdipCreateMetafileFromWmf(HMETAFILE hwmf, BOOL delete,
|
||||
(*metafile)->image.palette_size = 0;
|
||||
(*metafile)->image.palette_entries = NULL;
|
||||
(*metafile)->bounds.X = ((REAL) placeable->BoundingBox.Left) / ((REAL) placeable->Inch);
|
||||
(*metafile)->bounds.Y = ((REAL) placeable->BoundingBox.Right) / ((REAL) placeable->Inch);
|
||||
(*metafile)->bounds.Y = ((REAL) placeable->BoundingBox.Top) / ((REAL) placeable->Inch);
|
||||
(*metafile)->bounds.Width = ((REAL) (placeable->BoundingBox.Right
|
||||
- placeable->BoundingBox.Left)) / ((REAL) placeable->Inch);
|
||||
(*metafile)->bounds.Height = ((REAL) (placeable->BoundingBox.Bottom
|
||||
|
@ -874,7 +874,7 @@ static void test_createfromwmf(void)
|
||||
expect(Ok, stat);
|
||||
todo_wine expect(UnitPixel, unit);
|
||||
expectf(0.0, bounds.X);
|
||||
todo_wine expectf(0.0, bounds.Y);
|
||||
expectf(0.0, bounds.Y);
|
||||
todo_wine expectf(320.0, bounds.Width);
|
||||
todo_wine expectf(320.0, bounds.Height);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user