about summary refs log tree commit diff
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2024-03-09 20:15:52 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2024-03-09 20:15:52 +0000
commit6ad95b2b7ac68741f220199b7114f99cdc710875 (patch)
treed182e41dbd971be0c782292cf3c59fef42788234
parentc93a128786e19c916b096ec646a948a039eca9e1 (diff)
downloadnetpbm-mirror-6ad95b2b7ac68741f220199b7114f99cdc710875.tar.gz
netpbm-mirror-6ad95b2b7ac68741f220199b7114f99cdc710875.tar.xz
netpbm-mirror-6ad95b2b7ac68741f220199b7114f99cdc710875.zip
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4862 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r--editor/pamscale.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/pamscale.c b/editor/pamscale.c
index 1499e6b1..8a51b2be 100644
--- a/editor/pamscale.c
+++ b/editor/pamscale.c
@@ -636,7 +636,6 @@ parseCommandLine(int argc,
 --------------------------------------------------------------------------*/
     optEntry * option_def;
     optStruct3 opt;
-        /* Instructions to pm_optParseOptions3 on how to parse our options. */
 
     unsigned int option_def_index;
     unsigned int xyfit, xyfill;
@@ -675,7 +674,7 @@ parseCommandLine(int argc,
     opt.short_allowed = false;  /* We have no short (old-fashioned) options */
     opt.allowNegNum = false;   /* We have no parms that are negative numbers */
 
-    pm_optParseOptions3(&argc, (char **)argv, opt, sizeof(opt), 0);
+    pm_optParseOptions4(&argc, argv, opt, sizeof(opt), 0);
     /* Uses and sets argc, argv, and some of *cmdlineP and others. */
 
     if (cmdlineP->nomix && filterSpec)