lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 5fd8c4b 6/7: Name identical variables identic


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 5fd8c4b 6/7: Name identical variables identically
Date: Sun, 13 May 2018 19:45:55 -0400 (EDT)

branch: master
commit 5fd8c4bcff6961957c1d1a4b3a555db1dde4cabb
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Name identical variables identically
---
 ledger_pdf_generator_wx.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/ledger_pdf_generator_wx.cpp b/ledger_pdf_generator_wx.cpp
index cef9239..5b58b3a 100644
--- a/ledger_pdf_generator_wx.cpp
+++ b/ledger_pdf_generator_wx.cpp
@@ -1385,12 +1385,12 @@ class numeric_summary_table_cell
 
         // Make a copy because we want pos_y to be modified only once, not
         // twice, by both output_super_header() calls.
-        auto y_copy = pos_y;
+        auto pos_y_copy = pos_y;
         table_gen.output_super_header
             ("Guaranteed Values"
             ,column_guar_account_value
             ,column_separator_guar_non_guar
-            ,y_copy
+            ,pos_y_copy
             ,output_mode
             );
         table_gen.output_super_header
@@ -1415,12 +1415,12 @@ class numeric_summary_table_cell
             ,output_mode
             );
 
-        y_copy = pos_y;
+        pos_y_copy = pos_y;
         table_gen.output_super_header
             ("Midpoint Values"
             ,column_mid_account_value
             ,column_separator_mid_curr
-            ,y_copy
+            ,pos_y_copy
             ,output_mode
             );
 



reply via email to

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