lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] odd/zero_columns 7c26437 3/7: Rewrite a couple of li


From: Greg Chicares
Subject: [lmi-commits] [lmi] odd/zero_columns 7c26437 3/7: Rewrite a couple of lines for clarity
Date: Mon, 6 May 2019 07:21:22 -0400 (EDT)

branch: odd/zero_columns
commit 7c264373c53bef095ff86cf91639d6571c20d003
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Rewrite a couple of lines for clarity
---
 wx_table_generator.cpp | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/wx_table_generator.cpp b/wx_table_generator.cpp
index 2271fc8..ca292dd 100644
--- a/wx_table_generator.cpp
+++ b/wx_table_generator.cpp
@@ -225,8 +225,12 @@ void wx_table_generator::output_headers
             ,headers_by_line.begin() + (1 + i) * number_of_columns
             );
         x = left_margin_;
-if(0 == lmi::ssize(all_columns_)) warning() << __LINE__ << " RETURNING" << 
LMI_FLUSH;
-if(0 == lmi::ssize(all_columns_)) {pos_y = anticipated_pos_y; return;}
+if(0 == lmi::ssize(all_columns_))
+  {
+  warning() << __LINE__ << " RETURNING" << LMI_FLUSH;
+  pos_y = anticipated_pos_y;
+  return;
+  }
         do_output_single_row(x, pos_y, nth_line);
         }
 



reply via email to

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