diff options
Diffstat (limited to 'converter/other')
-rw-r--r-- | converter/other/pamtompfont.c | 2 | ||||
-rw-r--r-- | converter/other/pamtotiff.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/converter/other/pamtompfont.c b/converter/other/pamtompfont.c index db5fc633..7de6396c 100644 --- a/converter/other/pamtompfont.c +++ b/converter/other/pamtompfont.c @@ -53,6 +53,8 @@ parseCommandLine(int argc, char ** argv, option_def_index = 0; /* incremented by OPTENTRY */ + OPTENTINIT; + opt.opt_table = option_def; opt.short_allowed = FALSE; /* We have no short (old-fashioned) options */ opt.allowNegNum = FALSE; /* We have no parms that are negative numbers */ diff --git a/converter/other/pamtotiff.c b/converter/other/pamtotiff.c index 2082b3bd..1c4666fa 100644 --- a/converter/other/pamtotiff.c +++ b/converter/other/pamtotiff.c @@ -120,9 +120,6 @@ validateTagList(struct optNameValue const taglist[]) { case TIFFTAG_ROWSPERSTRIP: case TIFFTAG_PLANARCONFIG: case TIFFTAG_COLORMAP: - case TIFFTAG_RESOLUTIONUNIT: - case TIFFTAG_XRESOLUTION: - case TIFFTAG_YRESOLUTION: pm_error("You cannot specify a '%s' tag with -tag. " "Pamtotiff controls that internally or via other " "options.", tagName); |