[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);
}
- [lmi-commits] [lmi] odd/zero_columns updated (f5a1790 -> e5b9a61), Greg Chicares, 2019/05/06
- [lmi-commits] [lmi] odd/zero_columns b503329 1/7: Remove lines that served only to locate failures, Greg Chicares, 2019/05/06
- [lmi-commits] [lmi] odd/zero_columns 8e2dd5d 2/7: Don't circumvent an assertion that does not fail, Greg Chicares, 2019/05/06
- [lmi-commits] [lmi] odd/zero_columns 7c26437 3/7: Rewrite a couple of lines for clarity,
Greg Chicares <=
- [lmi-commits] [lmi] odd/zero_columns e5b9a61 7/7: Remove an unnecessary early-return statement, Greg Chicares, 2019/05/06
- [lmi-commits] [lmi] odd/zero_columns 29925fd 5/7: Explain a seeming anomaly, Greg Chicares, 2019/05/06
- [lmi-commits] [lmi] odd/zero_columns 08a994b 6/7: Comment early-return statement that are not in master, Greg Chicares, 2019/05/06
- [lmi-commits] [lmi] odd/zero_columns ced5a90 4/7: Suppress a misleading error message when no columns are requested, Greg Chicares, 2019/05/06