[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 07/08: src/roff/troff/node.cpp: Wrap long source lines.
From: |
G. Branden Robinson |
Subject: |
[groff] 07/08: src/roff/troff/node.cpp: Wrap long source lines. |
Date: |
Thu, 29 Jul 2021 05:29:30 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit 9d993bedd44b1f3241df343382ee6ea64827e182
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Thu Jul 29 19:07:46 2021 +1000
src/roff/troff/node.cpp: Wrap long source lines.
This is in preparation for changes that will add a brace scope and thus
change indentation.
---
src/roff/troff/node.cpp | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/roff/troff/node.cpp b/src/roff/troff/node.cpp
index daf342d..fdb52c7 100644
--- a/src/roff/troff/node.cpp
+++ b/src/roff/troff/node.cpp
@@ -4168,17 +4168,20 @@ void suppress_node::tprint(troff_output_file *out)
}
else {
// postscript (or other device)
- if (suppress_start_page > 0 && current_page != suppress_start_page)
+ if (suppress_start_page > 0
+ && (current_page != suppress_start_page))
error("suppression limit registers span more than a page;"
" grohtml-info for image %1 will be wrong", image_no);
// if (topdiv->get_page_number() != suppress_start_page)
- // fprintf(stderr, "end of image and topdiv page = %d and
suppress_start_page = %d\n",
+ // fprintf(stderr, "end of image and topdiv page = %d and"
+ // " suppress_start_page = %d\n",
// topdiv->get_page_number(), suppress_start_page);
// remember that the filename will contain a %d in which the
// image_no is placed
fprintf(stderr,
- "grohtml-info:page %d %d %d %d %d %d %s %d %d %s\n",
+ "grohtml-info:page %d %d %d %d %d %d %s %d %d"
+ " %s\n",
topdiv->get_page_number(),
get_register("opminx"), get_register("opminy"),
get_register("opmaxx"), get_register("opmaxy"),
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 07/08: src/roff/troff/node.cpp: Wrap long source lines.,
G. Branden Robinson <=