If for some reason do_text() fails to translate from Unicode to the font
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Thu, 2 Jan 2003 00:33:40 +0000 (00:33 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Thu, 2 Jan 2003 00:33:40 +0000 (00:33 +0000)
commit379836ca8d2a2260899cbbd84d273ddf3e044f74
treeebf71679aa10c784504d0e18234bd6d8976f30cb
parentfacd762ca8b5eb6cad4171cb3deb2f3ef2957dc0
If for some reason do_text() fails to translate from Unicode to the font
encoding, have it go through the rest of its motions with an empty string
anyway, so as to at least give a sensible empty box of the right colour.

If SetFallbackUnicodeToText() fails, switch over to using the charset
library, hence avoiding problems in do_text().

If the version of the Unicode Converter we're using doesn't understand about
interrupt-safe fallback functions, don't try to tell it we've got one.  This
prevents SetFallbackUnicodeToText() from failing on systems with old Unicode
Converters.

git-svn-id: svn://svn.tartarus.org/sgt/putty@2414 cda61777-01e9-0310-a592-d414129be87e
mac/mac.c
mac/mac.h
mac/macterm.c