gbranden pushed a commit to branch master in repository groff. commit de88fb581b489b666e5d7da4f365da381e6e4e61 Author: G. Branden Robinson <g.branden.robin...@gmail.com> AuthorDate: Tue Jun 3 04:28:01 2025 -0500
[troff]: Trivially refactor. ...continuing reform of functions that are troff request handlers such that their names end with `_request`. * src/roff/troff/env.cpp (select_font): Rename this... (select_font_request): ...to this. --- ChangeLog | 9 +++++++++ src/roff/troff/env.cpp | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3791807d3..e46d77f0d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2025-06-03 G. Branden Robinson <g.branden.robin...@gmail.com> + + [troff]: Trivially refactor, continuing reform of functions that + are troff request handlers such that their names end with + `_request`. + + * src/roff/troff/env.cpp (select_font): Rename this... + (select_font_request): ...to this. + 2025-06-03 G. Branden Robinson <g.branden.robin...@gmail.com> * src/roff/troff/env.cpp (select_font): Emit warning diagnostic diff --git a/src/roff/troff/env.cpp b/src/roff/troff/env.cpp index 71801838d..90f1697b4 100644 --- a/src/roff/troff/env.cpp +++ b/src/roff/troff/env.cpp @@ -1273,7 +1273,7 @@ void stroke_color_change() static symbol P_symbol("P"); -static void select_font() +static void select_font_request() { symbol s = get_name(); bool is_number = true; @@ -4294,7 +4294,7 @@ void init_env_requests() init_request("fc", field_characters_request); init_request("fi", fill); init_request("fcolor", fill_color_change); - init_request("ft", select_font); + init_request("ft", select_font_request); init_request("gcolor", stroke_color_change); init_request("hc", hyphenation_character_request); init_request("hla", select_hyphenation_language); _______________________________________________ groff-commit mailing list groff-commit@gnu.org https://lists.gnu.org/mailman/listinfo/groff-commit