tuse plain char if no translation in troffchar (fix ", "" in wintext(1)) - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 2b66e58623a5b32a7304340f00a3dde8fe51020c
(DIR) parent 1e987f65a1e11a49f3b0200083b8f619554fb9fc
(HTM) Author: rsc <devnull@localhost>
Date: Sun, 25 Mar 2007 17:25:30 +0000
use plain char if no translation in troffchar (fix ", "" in wintext(1))
Diffstat:
M src/cmd/troff2html/troff2html.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/cmd/troff2html/troff2html.c b/src/cmd/troff2html/troff2html.c
t@@ -705,7 +705,7 @@ troffchar(char *s)
for(i=0; troffchars[i].name!=nil; i++)
if(strcmp(s, troffchars[i].name) == 0)
return troffchars[i].value;
- return "??";
+ return s;
}
void