Commit b8f99cab authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

oleaut32/olepicture: Fix a typo in height conversion.

parent c37f6fb1
......@@ -216,7 +216,7 @@ static void OLEPictureImpl_SetBitmap(OLEPictureImpl *This)
hdcRef = CreateCompatibleDC(0);
This->himetricWidth = xpixels_to_himetric(bm.bmWidth, hdcRef);
This->himetricHeight = xpixels_to_himetric(bm.bmHeight, hdcRef);
This->himetricHeight = ypixels_to_himetric(bm.bmHeight, hdcRef);
DeleteDC(hdcRef);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment