draw: fix extra area computing
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
93e0b4ecfe
commit
7309351228
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue