gbranden pushed a commit to branch master
in repository groff.
commit b6719f9eba0d75782000b0a408e039278fff04d9
Author: G. Branden Robinson <[email protected]>
AuthorDate: Wed Nov 26 00:20:52 2025 -0600
src/roff/troff/input.cpp: Fix cosmetic code nit.
Add spaces around dyadic arithmetic operators.
---
src/roff/troff/input.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp
index 5bac0a5fe..193dca70e 100644
--- a/src/roff/troff/input.cpp
+++ b/src/roff/troff/input.cpp
@@ -6055,7 +6055,7 @@ static bool read_size(int *x) // \s
if (!csdigit(c))
contains_invalid_digit = true;
else {
- val = val*10 + (c - '0');
+ val = val * 10 + (c - '0');
val *= sizescale;
}
}
@@ -6069,7 +6069,7 @@ static bool read_size(int *x) // \s
if (!csdigit(c))
contains_invalid_digit = true;
else {
- val = val*10 + (c - '0');
+ val = val * 10 + (c - '0');
error("ambiguous type size in escape sequence; rewrite to use"
" '%1s(%2' or similar", static_cast<char>(escape_char),
val);
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit