[sword-devel] breakage in verse management at -r2785?
Karl Kleinpaste
karl at kleinpaste.org
Thu Mar 21 16:13:48 MST 2013
You didn't also need this snippet from Greg a couple days ago?
--- src/keys/versekey.cpp (revision 2792)
+++ src/keys/versekey.cpp (working copy)
@@ -1347,7 +1347,9 @@
}
if (verse < (intros?0:1)) {
if (--chapter < (intros?0:1)) {
- --book;
+ if (book > 1) {
+ --book;
+ }
chapter += (getChapterMax() + (intros?1:0));
}
verse += (getVerseMax() + (intros?1:0));
More information about the sword-devel
mailing list