[sword-svn] r1832 - trunk/src/keys

dglassey at crosswire.org dglassey at crosswire.org
Wed Jun 15 14:47:22 MST 2005


Author: dglassey
Date: 2005-06-15 14:47:21 -0700 (Wed, 15 Jun 2005)
New Revision: 1832

Modified:
   trunk/src/keys/versekey.cpp
Log:
Don't normalize if you are trying to set the chapter to zero either (for BibleTime to get the headers)



Modified: trunk/src/keys/versekey.cpp
===================================================================
--- trunk/src/keys/versekey.cpp	2005-06-10 16:43:23 UTC (rev 1831)
+++ trunk/src/keys/versekey.cpp	2005-06-15 21:47:21 UTC (rev 1832)
@@ -1039,7 +1039,7 @@
 	if ((autocheck) && (!autonorm))	// only normalize if we were explicitely called or if autonorm is turned on
 		return;
 
-	if ((headings) && (!verse))		// this is cheeze and temporary until deciding what actions should be taken.
+	if ((headings) && ((!verse) || (!chapter)))		// this is cheeze and temporary until deciding what actions should be taken.
 		return;					// so headings should only be turned on when positioning with Index() or incrementors
 
 	while ((testament < 3) && (testament > 0)) {



More information about the sword-cvs mailing list