From f909f30cc967bdf4a0f4cb16c47db273cda6ef2b Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 13 Apr 2024 20:23:02 -0400 Subject: Fixed issue with indents in the middle of poetry sections --- src/bible.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/bible.cc b/src/bible.cc index 7773732..0179de0 100644 --- a/src/bible.cc +++ b/src/bible.cc @@ -328,10 +328,8 @@ int main(int argc, char* argv[]) { chapter = tex.chapter; verse = tex.verse; out << tex.text; - if(!tex.text.empty() and tex.text.back() == '\n') { - isNewline = true; - } else { - isNewline = false; + if(!tex.text.empty()) { + isNewline = (tex.text.back() == '\n'); } if(isJesus) { out << "\033[0m"; -- cgit v1.2.3