From f42941536c6c16ba8b89dd5f25d8a747e3d5495d Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 19 Apr 2004 17:09:12 +0000 Subject: Better robustness when backends encounter a Unicode character not representable in the output character set. [originally from svn r4094] --- bk_man.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bk_man.c') 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); -- cgit v1.1