From 7d1988fcf11be20d399b7a5fd73a898de0a8dcce Mon Sep 17 00:00:00 2001 From: giraffedata Date: Mon, 3 Mar 2008 17:08:15 +0000 Subject: Fix crash in option processing git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@595 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- editor/pgmdeshadow.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'editor/pgmdeshadow.c') diff --git a/editor/pgmdeshadow.c b/editor/pgmdeshadow.c index 482c6661..948c6cba 100644 --- a/editor/pgmdeshadow.c +++ b/editor/pgmdeshadow.c @@ -85,6 +85,8 @@ parseCommandLine(int argc, char ** argv, option_def_index = 0; /* incremented by OPTENT3 */ + OPTENTINIT; + opt.opt_table = option_def; opt.short_allowed = FALSE; /* We have no short (old-fashioned) options */ opt.allowNegNum = FALSE; /* We may have parms that are negative numbers */ -- cgit 1.4.1