about summary refs log tree commit diff
path: root/editor/pnmcrop.c
diff options
context:
space:
mode:
Diffstat (limited to 'editor/pnmcrop.c')
-rw-r--r--editor/pnmcrop.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/editor/pnmcrop.c b/editor/pnmcrop.c
index 114e3a3d..a98c6f60 100644
--- a/editor/pnmcrop.c
+++ b/editor/pnmcrop.c
@@ -255,7 +255,9 @@ findBordersInImage(FILE *         const ifP,
     int row;
     bool gottop;
     int left, right, bottom, top;
-        /* leftmost, etc. nonbackground pixel found so far; -1 for none */
+        /* leftmost, etc. nonbackground pixel found so far.
+           Can be just off the edge of the image, so -1 or 'cols' or 'rows'
+        */
 
     xelrow = pnm_allocrow(cols);