]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
If for some reason do_text() fails to translate from Unicode to the font
authorBen Harris <bjh21@bjh21.me.uk>
Thu, 2 Jan 2003 00:33:40 +0000 (00:33 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Thu, 2 Jan 2003 00:33:40 +0000 (00:33 +0000)
commit2ecb2e896ebe4a13d2bca5cc3c2146e8df40d088
treeebf71679aa10c784504d0e18234bd6d8976f30cb
parent3befa02d9024befcf249fdf10be6dfccb127ffb6
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: http://svn.tartarus.org/sgt/putty@2414 cda61777-01e9-0310-a592-d414129be87e
mac/mac.c
mac/mac.h
mac/macterm.c