[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 116/126: src/roff/troff/input.cpp: Fix code style nit.
From: |
G. Branden Robinson |
Subject: |
[groff] 116/126: src/roff/troff/input.cpp: Fix code style nit. |
Date: |
Wed, 5 Jul 2023 17:03:20 -0400 (EDT) |
gbranden pushed a commit to branch branden-2023-07-05
in repository groff.
commit b7d85482678917f843648d667bd17dfc35dd955b
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Tue May 23 16:11:40 2023 -0500
src/roff/troff/input.cpp: Fix code style nit.
Update indentation per previous commit.
---
src/roff/troff/input.cpp | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp
index 55fa4b497..ea0794212 100644
--- a/src/roff/troff/input.cpp
+++ b/src/roff/troff/input.cpp
@@ -8942,18 +8942,18 @@ static void do_error(error_type type,
fprintf(stderr, "]: ");
}
else {
- double fromtop = topdiv->get_vertical_position().to_units()
- / warn_scale;
- fprintf(stderr, "warning [page %d, %.1f%c",
- topdiv->get_page_number(), fromtop, warn_scaling_unit);
- if (topdiv != curdiv) {
- double fromtop1 = curdiv->get_vertical_position().to_units()
- / warn_scale;
- fprintf(stderr, " (diversion '%s', %.1f%c)",
- curdiv->get_diversion_name(), fromtop1,
- warn_scaling_unit);
- }
- fprintf(stderr, "]: ");
+ double fromtop = topdiv->get_vertical_position().to_units()
+ / warn_scale;
+ fprintf(stderr, "warning [page %d, %.1f%c",
+ topdiv->get_page_number(), fromtop, warn_scaling_unit);
+ if (topdiv != curdiv) {
+ double fromtop1 = curdiv->get_vertical_position().to_units()
+ / warn_scale;
+ fprintf(stderr, " (diversion '%s', %.1f%c)",
+ curdiv->get_diversion_name(), fromtop1,
+ warn_scaling_unit);
+ }
+ fprintf(stderr, "]: ");
}
break;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 116/126: src/roff/troff/input.cpp: Fix code style nit.,
G. Branden Robinson <=