lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 1cfcae9 6/7: Improve concinnity


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 1cfcae9 6/7: Improve concinnity
Date: Thu, 11 Oct 2018 15:41:12 -0400 (EDT)

branch: master
commit 1cfcae9ef6d5ed7ada66adc959954c842672c347
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Improve concinnity
---
 ledger_pdf_generator_wx.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ledger_pdf_generator_wx.cpp b/ledger_pdf_generator_wx.cpp
index 4b035ec..6dfb92b 100644
--- a/ledger_pdf_generator_wx.cpp
+++ b/ledger_pdf_generator_wx.cpp
@@ -463,7 +463,7 @@ TAG_HANDLER_BEGIN(page_header, "HEADER")
         // would be removed from the containing HTML document later and it
         // would use default font instead of the one set by pdf_writer_wx.
         auto container = m_WParser->GetContainer();
-        if (container->GetFirstChild())
+        if(container->GetFirstChild())
             {
             // It isn't, so we need to open a new one, which we will mark as
             // being the actual header cell.
@@ -1710,7 +1710,7 @@ TAG_HANDLER_BEGIN(unbreakable_paragraph, "P")
 
         // As usual, reuse the current container if it's empty.
         auto container = m_WParser->GetContainer();
-        if (container->GetFirstChild())
+        if(container->GetFirstChild())
             {
             // It isn't, we need to open a new one.
             m_WParser->CloseContainer();



reply via email to

[Prev in Thread] Current Thread [Next in Thread]