[sword-svn] r2307 - trunk/utilities

benpmorgan at crosswire.org benpmorgan at crosswire.org
Wed Apr 8 18:32:53 MST 2009


Author: benpmorgan
Date: 2009-04-08 18:32:53 -0700 (Wed, 08 Apr 2009)
New Revision: 2307

Modified:
   trunk/utilities/imp2ld.cpp
Log:
Fix imp2ld, which wasn't breaking on the switch statement properly, causing it
to have the wrong module type.



Modified: trunk/utilities/imp2ld.cpp
===================================================================
--- trunk/utilities/imp2ld.cpp	2009-04-08 23:30:12 UTC (rev 2306)
+++ trunk/utilities/imp2ld.cpp	2009-04-09 01:32:53 UTC (rev 2307)
@@ -78,12 +78,15 @@
 	case 3:
 		zLD::createModule(modname);
 		mod = new zLD(modname, 0, 0, 30, new ZipCompress());
+		break;
 	case 2:
 		RawLD::createModule(modname);
 		mod = new RawLD(modname);
+		break;
 	case 1:
 		RawLD4::createModule(modname);
 		mod = new RawLD4(modname);
+		break;
 	}
 
 	key = mod->CreateKey();




More information about the sword-cvs mailing list