Skip to content

Commit e4e2cd6

Browse files
radarherehomm
authored andcommitted
Updated comments
1 parent 2b6c5a2 commit e4e2cd6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libImaging/GetBBox.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ ImagingGetBBox(Imaging im, int bbox[4], int alpha_only) {
3131
bbox[2] = bbox[3] = 0;
3232

3333
#define GETBBOX(image, mask) \
34-
/* first stage: looking for any px from top */ \
34+
/* first stage: looking for any pixels from top */ \
3535
for (y = 0; y < im->ysize; y++) { \
3636
has_data = 0; \
3737
for (x = 0; x < im->xsize; x++) { \
@@ -46,11 +46,11 @@ ImagingGetBBox(Imaging im, int bbox[4], int alpha_only) {
4646
break; \
4747
} \
4848
} \
49-
/* Check that we got a box */ \
49+
/* Check that we have a box */ \
5050
if (bbox[1] < 0) { \
5151
return 0; /* no data */ \
5252
} \
53-
/* second stage: looking for any px from bottom */ \
53+
/* second stage: looking for any pixels from bottom */ \
5454
for (y = im->ysize - 1; y >= bbox[1]; y--) { \
5555
has_data = 0; \
5656
for (x = 0; x < im->xsize; x++) { \

0 commit comments

Comments
 (0)