summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/pnmtologo.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/pnmtologo.c b/scripts/pnmtologo.c
index 68bb4efc5af4..ce937970cf98 100644
--- a/scripts/pnmtologo.c
+++ b/scripts/pnmtologo.c
@@ -104,9 +104,11 @@ static unsigned int get_number(FILE *fp)
val = 0;
while (isdigit(c)) {
val = 10*val+c-'0';
- /* some PBM are 'broken'; GiMP for example exports a PBM without space
- * between the digits. This is Ok cause we know a PBM can only have a '1'
- * or a '0' for the digit. */
+ /*
+ * Some PBM are 'broken'; GiMP for example exports a PBM without space
+ * between the digits. This is OK because we know a PBM can only have a
+ * '1' or a '0' for the digit.
+ */
if (is_plain_pbm)
break;
c = fgetc(fp);