draw: fix extra area computing

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-08-26 11:23:35 +02:00
parent 93e0b4ecfe
commit 7309351228
1 changed files with 1 additions and 1 deletions

View File

@ -1276,7 +1276,7 @@ area_array_remove(area_array_t *areas, area_t elem)
.x = r.x, .x = r.x,
.y = r.y, .y = r.y,
.width = r.width, .width = r.width,
.height = AREA_TOP(inter) - AREA_LEFT(r), .height = AREA_TOP(inter) - AREA_TOP(r),
}; };
area_array_append(areas, extra); area_array_append(areas, extra);
} }