[sword-svn] r1920 - trunk/src/mgr

scribe at crosswire.org scribe at crosswire.org
Mon May 22 02:23:09 MST 2006


Author: scribe
Date: 2006-05-22 02:23:08 -0700 (Mon, 22 May 2006)
New Revision: 1920

Modified:
   trunk/src/mgr/swmgr.cpp
Log:
Fixed rawgenbook to still work with treekey keytype


Modified: trunk/src/mgr/swmgr.cpp
===================================================================
--- trunk/src/mgr/swmgr.cpp	2006-05-22 07:55:43 UTC (rev 1919)
+++ trunk/src/mgr/swmgr.cpp	2006-05-22 09:23:08 UTC (rev 1920)
@@ -816,7 +816,7 @@
 
 	if (!stricmp(driver, "RawGenBook")) {
 		misc1 = ((entry = section.find("KeyType")) != section.end()) ? (*entry).second : (SWBuf)"TreeKey";
-		newmod = new RawGenBook(datapath.c_str(), name, description.c_str(), 0, enc, direction, markup, lang.c_str(), "VerseKey");
+		newmod = new RawGenBook(datapath.c_str(), name, description.c_str(), 0, enc, direction, markup, lang.c_str(), misc1.c_str());
 		pos = 1;
 	}
 



More information about the sword-cvs mailing list