From e25552d8ec73ac0d19ea5c3c4cad34928f952de8 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Tue, 4 Dec 2012 17:01:18 +0000 Subject: Release 10.60.04 git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@1798 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- converter/other/pamtompfont.c | 2 ++ converter/other/pamtotiff.c | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'converter/other') 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); -- cgit 1.4.1