lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 2f1464a 4/7: Improve concinnity


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

branch: master
commit 2f1464a4c2a968d260815435162666817c9d7747
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 49457ca..705aae9 100644
--- a/ledger_pdf_generator_wx.cpp
+++ b/ledger_pdf_generator_wx.cpp
@@ -457,14 +457,14 @@ TAG_HANDLER_BEGIN(page_header, "HEADER")
         // Although the header typically occurs at the very beginning of the
         // HTML template, it doesn't mean that the current container is empty,
         // quite on the contrary, it typically isn't because it contains the
-        // cells setting the initial colours and font for the HTML body and we
+        // cells setting the initial colors and font for the HTML body and we
         // must not make these cells part of the header cell as otherwise they
         // would be removed from the containing HTML document later and it
         // would use default font instead of the one set by pdf_writer_wx.
         // So first, close the existing container and open a new one which we
         // will mark as being the actual header cell.
         m_WParser->CloseContainer();
-        const auto container = m_WParser->OpenContainer();
+        auto const container = m_WParser->OpenContainer();
 
         // Set a unique ID for this container to allow finding it later.
         container->SetId(header_cell_id);



reply via email to

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