summaryrefslogtreecommitdiff
path: root/src/backend/keys/cswordversekey.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/keys/cswordversekey.cpp')
-rw-r--r--src/backend/keys/cswordversekey.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/backend/keys/cswordversekey.cpp b/src/backend/keys/cswordversekey.cpp
index 424b268..8db5d74 100644
--- a/src/backend/keys/cswordversekey.cpp
+++ b/src/backend/keys/cswordversekey.cpp
@@ -81,23 +81,7 @@ QString CSwordVerseKey::book( const QString& newBook ) {
}
if (!newBook.isEmpty()) {
-
-#ifdef SWORD_MULTIVERSE
setBookName(newBook.toUtf8().constData());
-#else
-
- bool finished = false;
-
- for (int testament = min; testament <= max && !finished; ++testament) {
- for (int book = 0; book < BMAX[testament] && !finished; ++book) {
- if ( !strcmp(newBook.toUtf8().constData(), books[testament][book].name ) ) {
- Testament(testament+1);
- Book(book+1);
- finished = true;
- }
- }
- }
-#endif
}
if ( (Testament() >= min+1) && (Testament() <= max+1) && (Book() <= BMAX[min]) ) {