Skip to content

Commit

Permalink
better compress rectangular regions
Browse files Browse the repository at this point in the history
  • Loading branch information
dk committed Oct 15, 2023
1 parent ce06d00 commit 4b7b625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion img/region.c
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ compress_region( PRegionRec region)
) {
if (
curr->x == prev->x &&
curr->y == prev->y + 1 &&
curr->y == prev->y + prev->height &&
curr->width == prev->width
) {
prev->height += curr->height;
Expand Down

0 comments on commit 4b7b625

Please sign in to comment.