On Sun, Apr 15, 2018 at 02:52:36PM -0400, Brian Callahan wrote: > Index: patches/patch-troff_node_cc > =================================================================== > RCS file: /cvs/ports/japanese/groff/patches/patch-troff_node_cc,v > retrieving revision 1.1 > diff -u -p -r1.1 patch-troff_node_cc > --- patches/patch-troff_node_cc 9 May 2010 21:26:54 -0000 1.1 > +++ patches/patch-troff_node_cc 15 Apr 2018 18:50:57 -0000
> @@ -18,3 +19,12 @@ $OpenBSD: patch-troff_node_cc,v 1.1 2010 > } > > glyph_node::glyph_node(charinfo *c, tfont *t, node *x) > +@@ -4943,7 +4944,7 @@ int is_boldfont(int fontno) > + { > + if (fontno >= 0 && fontno < font_table_size && font_table[fontno] != > NULL) { > + const char *name = font_table[fontno]->external_name.contents(); > +- if (name == '\0') > ++ if (name == NULL) > + return fontno == 3 ? 1 : 0; > + for (char **p = boldfont_list; *p; p++) { > + if (strcmp(name, *p) == 0) OK kn.