gbranden pushed a commit to branch branden-2023-07-05 in repository groff. commit 74128318d413863e24b3d82b97f401ee6779570b Author: G. Branden Robinson <g.branden.robin...@gmail.com> AuthorDate: Fri May 19 00:20:15 2023 -0500
src/preproc/eqn/box.cpp: Trivially refactor. Relocate code to put class member functions in lexicographic order, to prepare for addition of two more classes. --- src/preproc/eqn/box.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/preproc/eqn/box.cpp b/src/preproc/eqn/box.cpp index cf3e7ac48..4626409dd 100644 --- a/src/preproc/eqn/box.cpp +++ b/src/preproc/eqn/box.cpp @@ -589,31 +589,31 @@ void tab_box::check_tabs(int level) } } -full_space_box::full_space_box() +half_space_box::half_space_box() { spacing_type = SUPPRESS_TYPE; } -void full_space_box::output() +void half_space_box::output() { if (output_format == troff) - printf("\\h'%dM'", thick_space); + printf("\\h'%dM'", thin_space); else if (output_format == mathml) - //    doesn't display right under Firefox 1.5. - printf("<mtext> </mtext>"); + printf("<mtext> </mtext>"); } -half_space_box::half_space_box() +full_space_box::full_space_box() { spacing_type = SUPPRESS_TYPE; } -void half_space_box::output() +void full_space_box::output() { if (output_format == troff) - printf("\\h'%dM'", thin_space); + printf("\\h'%dM'", thick_space); else if (output_format == mathml) - printf("<mtext> </mtext>"); + //    doesn't display right under Firefox 1.5. + printf("<mtext> </mtext>"); } void box_list::list_debug_print(const char *sep) _______________________________________________ Groff-commit mailing list Groff-commit@gnu.org https://lists.gnu.org/mailman/listinfo/groff-commit