[sword-svn] r2306 - trunk/utilities/diatheke
benpmorgan at crosswire.org
benpmorgan at crosswire.org
Wed Apr 8 16:30:12 MST 2009
Author: benpmorgan
Date: 2009-04-08 16:30:12 -0700 (Wed, 08 Apr 2009)
New Revision: 2306
Modified:
trunk/utilities/diatheke/corediatheke.cpp
Log:
Fix diatheke to work with ParseVerseList changes.
Modified: trunk/utilities/diatheke/corediatheke.cpp
===================================================================
--- trunk/utilities/diatheke/corediatheke.cpp 2009-04-08 20:36:19 UTC (rev 2305)
+++ trunk/utilities/diatheke/corediatheke.cpp 2009-04-08 23:30:12 UTC (rev 2306)
@@ -379,7 +379,7 @@
for (i = 0; i < listkey.Count() && maxverses; i++) {
VerseKey *element = SWDYNAMIC_CAST(VerseKey, listkey.GetElement(i));
- if (element) {
+ if (element && element->isBoundSet()) {
target->Key(element->LowerBound());
vk = element->UpperBound();
while (maxverses && target->Key() <= vk) {
More information about the sword-cvs
mailing list