groff-commit
[Top][All Lists]
Advanced

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

[groff] 19/21: src/roff/troff/node.cpp: Fix code style nit.


From: G. Branden Robinson
Subject: [groff] 19/21: src/roff/troff/node.cpp: Fix code style nit.
Date: Tue, 23 Aug 2022 14:18:43 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 4bee153f83d2cd6c84ecce6c3f392ba7fcccce2c
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Tue Aug 23 08:22:55 2022 -0500

    src/roff/troff/node.cpp: Fix code style nit.
    
    * src/roff/troff/node.cpp: Fix code style nit.  Put space around binary
      arithmetic operators.  Put a space after `sizeof` because it is an
      operator, not a function.
---
 src/roff/troff/node.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/roff/troff/node.cpp b/src/roff/troff/node.cpp
index 6a33c169e..96697e076 100644
--- a/src/roff/troff/node.cpp
+++ b/src/roff/troff/node.cpp
@@ -6103,7 +6103,7 @@ int font_family::make_definite(int mounting_position)
     if (pos >= map_size)
       map_size = pos + 10;
     map = new int[map_size];
-    memcpy(map, old_map, old_map_size*sizeof(int));
+    memcpy(map, old_map, old_map_size * sizeof (int));
     delete[] old_map;
     for (int j = old_map_size; j < map_size; j++)
       map[j] = -1;



reply via email to

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