aboutsummaryrefslogtreecommitdiff
path: root/bible.cc
diff options
context:
space:
mode:
authorYour Name <you@example.com>2020-11-09 10:28:06 -0500
committerYour Name <you@example.com>2020-11-09 10:28:06 -0500
commita308af1cd84185989f1262ba66b01f6a9ceafa6a (patch)
treeb82fb14947cd869c0c7070f67db64a767c129616 /bible.cc
parent1b7760f0c488d183648842a47ff57d36f5934225 (diff)
downloadlibbible-a308af1cd84185989f1262ba66b01f6a9ceafa6a.tar.gz
libbible-a308af1cd84185989f1262ba66b01f6a9ceafa6a.tar.bz2
libbible-a308af1cd84185989f1262ba66b01f6a9ceafa6a.zip
Fixed a bug with NT only translations displaying invalid OT text
Diffstat (limited to 'bible.cc')
-rw-r--r--bible.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bible.cc b/bible.cc
index 3388364..0bcd9f1 100644
--- a/bible.cc
+++ b/bible.cc
@@ -188,7 +188,7 @@ int main(int argc, char* argv[]) {
bool isNewline = true;
for(auto tex : text) {
if(!omitVerseNums && tex.chapter != chapter) {
- printf("\nChapter %d:\n", tex.chapter);
+ printf("\n%s Chapter %d:\n", tex.book.c_str(), tex.chapter);
}
bool isParagraph = false;
bool isIndent = false;