[sword-svn] r3016 - trunk/utilities

chrislit at crosswire.org chrislit at crosswire.org
Thu Jan 23 01:22:57 MST 2014


Author: chrislit
Date: 2014-01-23 01:22:57 -0700 (Thu, 23 Jan 2014)
New Revision: 3016

Modified:
   trunk/utilities/osis2mod.cpp
Log:
fixed erroneous verse numbers in re-versification reports (MODTOOLS-56)


Modified: trunk/utilities/osis2mod.cpp
===================================================================
--- trunk/utilities/osis2mod.cpp	2014-01-23 06:29:03 UTC (rev 3015)
+++ trunk/utilities/osis2mod.cpp	2014-01-23 08:22:57 UTC (rev 3016)
@@ -414,10 +414,10 @@
  */
 void makeValidRef(VerseKey &key) {
 	VerseKey saveKey;
-	saveKey.setVersificationSystem(currentVerse.getVersificationSystem());
+	saveKey.setVersificationSystem(key.getVersificationSystem());
 	saveKey.setAutoNormalize(false);
 	saveKey.setIntros(true);
-	saveKey = currentVerse;
+	saveKey = key;
 
 	// Since isValidRef returned false constrain the key to the nearest prior reference.
 	// If we are past the last chapter set the reference to the last chapter




More information about the sword-cvs mailing list