From 73093512289c309269045855a3736df1ca530e6b Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 26 Aug 2008 11:23:35 +0200 Subject: [PATCH] draw: fix extra area computing Signed-off-by: Julien Danjou --- common/draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/draw.c b/common/draw.c index 232b48a5..a35717e2 100644 --- a/common/draw.c +++ b/common/draw.c @@ -1276,7 +1276,7 @@ area_array_remove(area_array_t *areas, area_t elem) .x = r.x, .y = r.y, .width = r.width, - .height = AREA_TOP(inter) - AREA_LEFT(r), + .height = AREA_TOP(inter) - AREA_TOP(r), }; area_array_append(areas, extra); }