gbranden pushed a commit to branch master
in repository groff.
commit 4bee153f83d2cd6c84ecce6c3f392ba7fcccce2c
Author: G. Branden Robinson <[email protected]>
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;
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit