Index: trunk/ppStac/src/ppStacOptions.c
===================================================================
--- trunk/ppStac/src/ppStacOptions.c	(revision 11848)
+++ trunk/ppStac/src/ppStacOptions.c	(revision 12994)
@@ -91,5 +91,5 @@
     }
 
-    int numInputs = *options->config->argc - 2; // Number of input files
+    int numInputs = *argc - 2; // Number of input files
     if (numInputs <= 1) {
         psError(PS_ERR_BAD_PARAMETER_SIZE, true, "Not enough input images supplied to combine.\n");
