[pkg-wine-party] [SCM] Debian Wine packaging branch, wheezy, updated. wine-1.4-7-302-gb61b690
Alexandre Julliard
julliard at winehq.org
Sun Jun 17 20:01:17 UTC 2012
The following commit has been merged in the wheezy branch:
commit 17cce0ee71d7fd444ffd245a2e9c67fe80ff0ac0
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Mar 9 11:38:12 2012 +0100
gdi32: Fix rounding error for odd ellipse sizes in CreateRoundRectRgn.
(cherry picked from commit 53c53126d53e58ea02bb956d8db56af3f0fe6761)
diff --git a/dlls/gdi32/region.c b/dlls/gdi32/region.c
index 231a7cf..dd2827d 100644
--- a/dlls/gdi32/region.c
+++ b/dlls/gdi32/region.c
@@ -824,12 +824,12 @@ HRGN WINAPI CreateRoundRectRgn( INT left, INT top,
rects[i].top = top + i;
rects[i].bottom = rects[i].top + 1;
}
- rects[i - 1].bottom = bottom - ellipse_height + i; /* extend to bottom of rectangle */
for (; i < ellipse_height; i++)
{
rects[i].top = bottom - ellipse_height + i;
rects[i].bottom = rects[i].top + 1;
}
+ rects[ellipse_height / 2].top = top + ellipse_height / 2; /* extend to top of rectangle */
hrgn = alloc_gdi_handle( &obj->header, OBJ_REGION, ®ion_funcs );
--
Debian Wine packaging
More information about the pkg-wine-party
mailing list