[sword-svn] r3130 - trunk/utilities

chrislit at crosswire.org chrislit at crosswire.org
Fri Mar 14 22:43:53 MST 2014


Author: chrislit
Date: 2014-03-14 22:43:52 -0700 (Fri, 14 Mar 2014)
New Revision: 3130

Modified:
   trunk/utilities/mod2zmod.cpp
Log:
bumped arg numbers for addition of compression level


Modified: trunk/utilities/mod2zmod.cpp
===================================================================
--- trunk/utilities/mod2zmod.cpp	2014-03-14 12:54:26 UTC (rev 3129)
+++ trunk/utilities/mod2zmod.cpp	2014-03-15 05:43:52 UTC (rev 3130)
@@ -87,7 +87,7 @@
 	SWModule *outModule    = 0;
 	int compLevel = 0;
 
-	if ((argc < 3) || (argc > 6)) {
+	if ((argc < 3) || (argc > 7)) {
 		errorOutHelp(argv[0]);
 	}
 
@@ -98,7 +98,7 @@
 			if (argc > 5) {
 				compLevel = atoi(argv[5]);
 				if (argc > 6) {
-					cipherKey = argv[5];
+					cipherKey = argv[6];
 				}
 			}
 		}




More information about the sword-cvs mailing list