node-sword-interface 0.248.0 → 0.249.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -430,12 +430,13 @@ string TextProcessor::getBookIntroduction(string moduleName, string bookCode)
|
|
|
430
430
|
if (module == 0) {
|
|
431
431
|
cerr << "getLocalModule returned zero pointer for " << moduleName << endl;
|
|
432
432
|
} else {
|
|
433
|
-
|
|
433
|
+
module->setKeyText(bookCode.c_str());
|
|
434
|
+
VerseKey *verseKey = (VerseKey *)module->getKey();
|
|
434
435
|
|
|
435
436
|
// Include chapter/book/testament/module intros
|
|
436
|
-
verseKey
|
|
437
|
-
verseKey
|
|
438
|
-
verseKey
|
|
437
|
+
verseKey->setIntros(true);
|
|
438
|
+
verseKey->setChapter(0);
|
|
439
|
+
verseKey->setVerse(0);
|
|
439
440
|
module->setKey(verseKey);
|
|
440
441
|
|
|
441
442
|
bookIntroText = string(module->getRawEntry());
|