shithub: neatmkfn

Download patch

ref: a0d4d750283d557f0dfed42b0a03486b3a5ec792
parent: 09930a50933dd55267e4859f54034c75d8ffa206
author: Ali Gholami Rudi <ali@rudi.ir>
date: Wed Apr 4 12:45:30 EDT 2018

trfn: print the space character

--- a/trfn.c
+++ b/trfn.c
@@ -286,7 +286,7 @@
 		trfn_swid = WX(wid);
 	/* printing troff charset */
 	if (strchr(uc, ' '))	/* space not allowed in char names */
-		return;
+		strcpy(uc, "---");
 	if (strcmp("---", uc))
 		trfn_lig(uc);
 	sbuf_printf(sbuf_char, "char %s\t%d", uc, WX(wid));