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_whlp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bk_whlp.c') diff --git a/bk_whlp.c b/bk_whlp.c index 9655b1f..7738c71 100644 --- a/bk_whlp.c +++ b/bk_whlp.c @@ -628,7 +628,7 @@ static void whlp_mkparagraph(struct bk_whlp_state *state, whlp_set_font(state->h, newfont); } if (removeattr(text->type) == word_Normal) { - if (whlp_convert(text->text, 0, &c, TRUE)) + if (whlp_convert(text->text, 0, &c, TRUE) || !text->alt) whlp_text(state->h, c); else whlp_mkparagraph(state, deffont, text->alt, FALSE); -- cgit v1.1