diff options
-rw-r--r-- | src/sna/sna_damage.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sna/sna_damage.c b/src/sna/sna_damage.c index fb161b58..b634c0b2 100644 --- a/src/sna/sna_damage.c +++ b/src/sna/sna_damage.c @@ -901,9 +901,7 @@ __sna_damage_add_points(struct sna_damage *damage, return damage; damage_union(damage, &extents); - _sna_damage_create_elt_from_points(damage, p, n, dx, dy); - - return damage; + return _sna_damage_create_elt_from_points(damage, p, n, dx, dy); } #if HAS_DEBUG_FULL |