aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/troff2html
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2007-03-25 17:25:30 +0000
committerrsc <devnull@localhost>2007-03-25 17:25:30 +0000
commit2b66e58623a5b32a7304340f00a3dde8fe51020c (patch)
tree85b212368f838ba36a478305326064c6a48d92e3 /src/cmd/troff2html
parent1e987f65a1e11a49f3b0200083b8f619554fb9fc (diff)
downloadplan9port-2b66e58623a5b32a7304340f00a3dde8fe51020c.tar.gz
plan9port-2b66e58623a5b32a7304340f00a3dde8fe51020c.tar.bz2
plan9port-2b66e58623a5b32a7304340f00a3dde8fe51020c.zip
use plain char if no translation in troffchar (fix ", "" in wintext(1))
Diffstat (limited to 'src/cmd/troff2html')
-rw-r--r--src/cmd/troff2html/troff2html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/troff2html/troff2html.c b/src/cmd/troff2html/troff2html.c
index c0956c7d..91145c06 100644
--- a/src/cmd/troff2html/troff2html.c
+++ b/src/cmd/troff2html/troff2html.c
@@ -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