diff options
-rw-r--r-- | converter/ppm/tgatoppm.c | 2 | ||||
-rw-r--r-- | doc/HISTORY | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/converter/ppm/tgatoppm.c b/converter/ppm/tgatoppm.c index 19d8b347..da1c3beb 100644 --- a/converter/ppm/tgatoppm.c +++ b/converter/ppm/tgatoppm.c @@ -73,7 +73,7 @@ parseCommandLine(int argc, char ** argv, /* Uses and sets argc, argv, and some of *cmdlineP and others. */ if (argc - 1 == 0) - cmdlineP->input_filename = "="; /* he wants stdin */ + cmdlineP->input_filename = "-"; /* he wants stdin */ else if (argc - 1 == 1) cmdlineP->input_filename = strdup(argv[1]); else diff --git a/doc/HISTORY b/doc/HISTORY index 1177354f..f53dc2f4 100644 --- a/doc/HISTORY +++ b/doc/HISTORY @@ -30,6 +30,8 @@ not yet BJH Release 10.43.00 pbmtogo: fix buffer overrun with too wide image. + tgatoppm: fix standard input invocation. + ppmd_filledrectangle: fail properly on negative image height, width. |