aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bible.cc6
1 files 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";