diff options
Diffstat (limited to 'converter/other/pbmtopgm.c')
-rw-r--r-- | converter/other/pbmtopgm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/converter/other/pbmtopgm.c b/converter/other/pbmtopgm.c index 817fb5b3..72a2afff 100644 --- a/converter/other/pbmtopgm.c +++ b/converter/other/pbmtopgm.c @@ -45,7 +45,7 @@ main(int argc, char *argv[]) { if (width > cols) pm_error("You specified a sample width (%u columns) which is greater " - "than the image width (%u columns)", height, rows); + "than the image width (%u columns)", width, cols); if (height > rows) pm_error("You specified a sample height (%u rows) which is greater " "than the image height (%u rows)", height, rows); |