[sword-svn] r2101 - trunk/utilities

chrislit at www.crosswire.org chrislit at www.crosswire.org
Sun Oct 7 13:37:43 MST 2007


Author: chrislit
Date: 2007-10-07 13:37:43 -0700 (Sun, 07 Oct 2007)
New Revision: 2101

Modified:
   trunk/utilities/mod2zmod.cpp
Log:
looks like zCom driver is somehow broken, so switching to zText for commentaries

Modified: trunk/utilities/mod2zmod.cpp
===================================================================
--- trunk/utilities/mod2zmod.cpp	2007-10-07 20:14:37 UTC (rev 2100)
+++ trunk/utilities/mod2zmod.cpp	2007-10-07 20:37:43 UTC (rev 2101)
@@ -113,14 +113,12 @@
 	int result = 0;
 	switch (modType) {
 	case BIBLE:
+	case COM:
 		result = zText::createModule(argv[2], iType);
 		break;
 	case LEX:
 		result = zLD::createModule(argv[2]);
 		break;
-	case COM:
-		result = zCom::createModule(argv[2], iType);
-		break;
 	}
 
 	if (result) {
@@ -130,16 +128,13 @@
 
 	switch (modType) {
 	case BIBLE:
+	case COM:
 		outModule = new zText(argv[2], 0, 0, iType, compressor);	// open our datapath with our RawText driver.
 		((VerseKey *)(SWKey *)(*inModule))->Headings(1);
 		break;
 	case LEX:
 		outModule = new zLD(argv[2], 0, 0, iType, compressor);	// open our datapath with our RawText driver.
 		break;
-	case COM:
-		outModule = new zCom(argv[2], 0, 0, iType, compressor);	// open our datapath with our RawText driver.
-		((VerseKey *)(SWKey *)(*inModule))->Headings(1);
-		break;
 	}
 
 	SWFilter *cipherFilter = 0;




More information about the sword-cvs mailing list