about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--doc/HISTORY2
-rw-r--r--editor/pamundice.c6
2 files changed, 3 insertions, 5 deletions
diff --git a/doc/HISTORY b/doc/HISTORY
index 3638094d..8a2b6ab4 100644
--- a/doc/HISTORY
+++ b/doc/HISTORY
@@ -6,6 +6,8 @@ CHANGE HISTORY
 
 not yet  BJH  Release 10.42.00
 
+              pamundice: Fix bogus error about missing "-instem" option.
+
               Add pm_tmpfile_fd() and pm_make_tmpfile_fd().
 
               Various things to make it build on Windows without POSIX
diff --git a/editor/pamundice.c b/editor/pamundice.c
index 90bac9f6..5c504356 100644
--- a/editor/pamundice.c
+++ b/editor/pamundice.c
@@ -54,7 +54,7 @@ parseCommandLine(int argc, char ** argv,
     optStruct3 opt;
     
     unsigned int acrossSpec, downSpec;
-    unsigned int instemSpec, hoverlapSpec, voverlapSpec;
+    unsigned int hoverlapSpec, voverlapSpec;
     unsigned int option_def_index;
 
     MALLOCARRAY_NOFAIL(option_def, 100);
@@ -90,10 +90,6 @@ parseCommandLine(int argc, char ** argv,
     if (!voverlapSpec)
         cmdlineP->voverlap = 0;
 
-    if (!instemSpec)
-        pm_error("You must specify the -instem option to indicate where to "
-                 "get the input images.");
-
     if (argc-1 < 1)
         pm_error("You must specify one argument: the input file name "
                  "pattern (e.g. 'myimage%%2a%%2d.pnm')");