Skip to content

Commit

Permalink
Correct left boundary on the second stage
Browse files Browse the repository at this point in the history
  • Loading branch information
homm committed Aug 14, 2024
1 parent 5fb44ab commit 8256b9b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libImaging/GetBBox.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ ImagingGetBBox(Imaging im, int bbox[4], int alpha_only) {
for (x = 0; x < im->xsize; x++) \
if (im->image[y][x] & mask) { \
has_data = 1; \
if (x < bbox[0]) \
bbox[0] = x; \
bbox[3] = y + 1; \
break; \
} \
Expand Down

0 comments on commit 8256b9b

Please sign in to comment.