gbranden pushed a commit to branch master
in repository groff.

commit cbd432846aaf684c0134a1662b853cfad4446782
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Jun 5 15:17:38 2026 -0500

    src/devices/grohtml/post-html.cpp: Fix cosmetics.
    
    Fix cosmetic code style nits; migrate code to be more in Clark's style
    (brace style, minimization of blank lines in function bodies).
---
 src/devices/grohtml/post-html.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/devices/grohtml/post-html.cpp 
b/src/devices/grohtml/post-html.cpp
index 5cb5aa149..d056829d9 100644
--- a/src/devices/grohtml/post-html.cpp
+++ b/src/devices/grohtml/post-html.cpp
@@ -1760,7 +1760,6 @@ void header_desc::write_headings (FILE *f, int force)
        fputs("#", f);
        if (simple_anchors) {
          string buffer(ANCHOR_TEMPLATE);
-
          buffer += as_string(h);
          buffer += '\0';
          fprintf(f, "%s", buffer.contents());
@@ -5671,7 +5670,8 @@ html_printer::~html_printer()
     fputs("</body>\n", stdout);
     fputs("</html>\n", stdout);
     do_file_components();
-  } else {
+  }
+  else {
     do_file_components();
     fputs("</body>\n", stdout);
     fputs("</html>\n", stdout);

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to