groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 116/127: src/roff/troff/input.cpp: Fix code style nit.


From: G. Branden Robinson
Subject: [groff] 116/127: src/roff/troff/input.cpp: Fix code style nit.
Date: Mon, 10 Jul 2023 04:31:07 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 7a21945f9e9eadc828d757f22ceaf1d5fff0e21e
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;
   }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]