summaryrefslogtreecommitdiff
path: root/bk_man.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2004-04-19 17:09:12 +0000
committerSimon Tatham <anakin@pobox.com>2004-04-19 17:09:12 +0000
commitf42941536c6c16ba8b89dd5f25d8a747e3d5495d (patch)
treeb2533971228e8aeca27debb8e0ebb2ce7a85c107 /bk_man.c
parentd74917688ba7d95ed71fe836091ec9d952f433e6 (diff)
downloadhalibut-f42941536c6c16ba8b89dd5f25d8a747e3d5495d.zip
halibut-f42941536c6c16ba8b89dd5f25d8a747e3d5495d.tar.gz
halibut-f42941536c6c16ba8b89dd5f25d8a747e3d5495d.tar.bz2
halibut-f42941536c6c16ba8b89dd5f25d8a747e3d5495d.tar.xz
Better robustness when backends encounter a Unicode character not
representable in the output character set. [originally from svn r4094]
Diffstat (limited to 'bk_man.c')
-rw-r--r--bk_man.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bk_man.c b/bk_man.c
index 60157fa..d03f6b7 100644
--- a/bk_man.c
+++ b/bk_man.c
@@ -372,7 +372,7 @@ static void man_rdaddwc(rdstringc *rs, word *text, word *end,
if (removeattr(text->type) == word_Normal) {
if (rs->pos > 0)
quote_props &= ~QUOTE_INITCTRL; /* not at start any more */
- if (man_convert(text->text, 0, &c, quote_props))
+ if (man_convert(text->text, 0, &c, quote_props) || !text->alt)
rdaddsc(rs, c);
else
man_rdaddwc(rs, text->alt, NULL, quote_props);