node-sword-interface 1.0.50 → 1.0.52
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/binding.gyp
CHANGED
package/package.json
CHANGED
package/scripts/build_sword.sh
CHANGED
|
@@ -75,6 +75,8 @@ if [ "$1" = "--android" ] ; then
|
|
|
75
75
|
-DANDROID_NDK=$ANDROID_NDK_HOME \
|
|
76
76
|
-DCMAKE_BUILD_TYPE=$SWORD_BUILD_TYPE \
|
|
77
77
|
-DANDROID_ABI="$ANDROID_ABI" \
|
|
78
|
+
-DCMAKE_EXE_LINKER_FLAGS="-Wl,-z,max-page-size=16384" \
|
|
79
|
+
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,-z,max-page-size=16384" \
|
|
78
80
|
-DNODYNCAST=1 \
|
|
79
81
|
../sword
|
|
80
82
|
else
|
|
@@ -243,9 +243,13 @@ string TextProcessor::getCurrentChapterHeading(sword::SWModule* module)
|
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
if (this->_markupEnabled && !this->_rawMarkupEnabled) {
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
246
|
+
if (currentModuleName == "ISV" && currentChapter == 1 && currentVerseNr == 1) {
|
|
247
|
+
// The chapter headings in the ISV (International Standard Version) are screwed up somehow for 1:1
|
|
248
|
+
// Therefore we do not render chapter headings for the first verse of the book in this case.
|
|
249
|
+
chapterHeading = "";
|
|
250
|
+
} else if (currentModuleName == "AB" && currentVerseNr == 1) {
|
|
251
|
+
// The AB module (Apostle's Bible) has broken chapter headings for X:1
|
|
252
|
+
// Therefore we do not render chapter headings for the first verse of the chapter in this case.
|
|
249
253
|
chapterHeading = "";
|
|
250
254
|
} else {
|
|
251
255
|
chapterHeading = this->getFilteredText(chapterHeading, currentChapter, currentVerseNr);
|