aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pgm-interlace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pgm-interlace.c b/pgm-interlace.c
index 33ba89d..18c06c6 100644
--- a/pgm-interlace.c
+++ b/pgm-interlace.c
@@ -225,7 +225,7 @@ int write_pgm(FILE *fout, unsigned long size, unsigned int white, FILE **fin, si
if (c == EOF)
{
fprintf(stderr, "Unexpected EOF on file %lu at pixel (%lu,%lu); pgm input truncated? Stop.\n", fnum, x, y);
-/* return 1;*/
+ return 1;
}
fputc(c, fout);
}