[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 15/20: src/preproc/tbl/table.cpp: Update indentation.
From: |
G. Branden Robinson |
Subject: |
[groff] 15/20: src/preproc/tbl/table.cpp: Update indentation. |
Date: |
Fri, 3 Feb 2023 16:47:55 -0500 (EST) |
gbranden pushed a commit to branch master
in repository groff.
commit fe73f75514aed81d7603a9a1b6e267df24917c16
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Fri Feb 3 06:28:17 2023 -0600
src/preproc/tbl/table.cpp: Update indentation.
...per previous commit.
---
src/preproc/tbl/table.cpp | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/src/preproc/tbl/table.cpp b/src/preproc/tbl/table.cpp
index 1ffdf6062..82c51afb2 100644
--- a/src/preproc/tbl/table.cpp
+++ b/src/preproc/tbl/table.cpp
@@ -2222,22 +2222,22 @@ void table::compute_overall_width()
break;
}
if (do_expansion) {
- prints(".if \\n[" AVAILABLE_WIDTH_REG "] \\\n");
- prints(". nr " EXPAND_REG " \\n[.l]-\\n[.i]");
- for (int i = 0; i < ncolumns; i++)
- if (!expand[i])
- printfs("-\\n[%1]", span_width_reg(i, i));
- if (total_separation)
- printfs("-%1n", as_string(total_separation));
- prints("\n");
- int colcount = count_expand_columns();
- if (colcount > 1)
- printfs(".nr " EXPAND_REG " \\n[" EXPAND_REG "]/%1\n",
- as_string(colcount));
- for (int i = 0; i < ncolumns; i++)
- if (expand[i])
- printfs(".nr %1 \\n[%1]>?\\n[" EXPAND_REG "]\n",
- span_width_reg(i, i));
+ prints(".if \\n[" AVAILABLE_WIDTH_REG "] \\\n");
+ prints(". nr " EXPAND_REG " \\n[.l]-\\n[.i]");
+ for (int i = 0; i < ncolumns; i++)
+ if (!expand[i])
+ printfs("-\\n[%1]", span_width_reg(i, i));
+ if (total_separation)
+ printfs("-%1n", as_string(total_separation));
+ prints("\n");
+ int colcount = count_expand_columns();
+ if (colcount > 1)
+ printfs(".nr " EXPAND_REG " \\n[" EXPAND_REG "]/%1\n",
+ as_string(colcount));
+ for (int i = 0; i < ncolumns; i++)
+ if (expand[i])
+ printfs(".nr %1 \\n[%1]>?\\n[" EXPAND_REG "]\n",
+ span_width_reg(i, i));
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 15/20: src/preproc/tbl/table.cpp: Update indentation.,
G. Branden Robinson <=