[sword-svn] r2579 - trunk/utilities

scribe at crosswire.org scribe at crosswire.org
Thu Oct 21 05:05:09 MST 2010


Author: scribe
Date: 2010-10-21 05:05:09 -0700 (Thu, 21 Oct 2010)
New Revision: 2579

Modified:
   trunk/utilities/imp2vs.cpp
Log:
Added missing 'else' which caused a set of empty uncompressed files to be generated when creating a compressed module


Modified: trunk/utilities/imp2vs.cpp
===================================================================
--- trunk/utilities/imp2vs.cpp	2010-10-21 02:47:08 UTC (rev 2578)
+++ trunk/utilities/imp2vs.cpp	2010-10-21 12:05:09 UTC (rev 2579)
@@ -147,9 +147,11 @@
 				exit(-1);
 			}
 		}
-		if (!fourByteSize)
-			RawText::createModule(outPath, v11n);
-		else	RawText4::createModule(outPath, v11n);
+		else {
+			if (!fourByteSize)
+				RawText::createModule(outPath, v11n);
+			else	RawText4::createModule(outPath, v11n);
+		}
 	}
 
 	SWModule *module = 0;




More information about the sword-cvs mailing list