]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Stop multifont fallback from crashing in GTK1.
authorSimon Tatham <anakin@pobox.com>
Sat, 15 Aug 2015 19:26:07 +0000 (20:26 +0100)
committerSimon Tatham <anakin@pobox.com>
Sat, 15 Aug 2015 19:51:44 +0000 (20:51 +0100)
commit0f60287f66c7a0586304709ae002249e092ef05e
treed78377ae9e083b4e83b3319f6ebbea2b81ef5734
parentf3f215423bca59a0f09483db973d5ddc44d3d041
Stop multifont fallback from crashing in GTK1.

I was tacitly assuming that mfont->fallback would always be non-NULL,
which is true in a world containing Pango, but untrue in GTK1 when
Pango isn't there. In that situation we fall back to just omitting the
characters that would be displayed in the fallback font, on the
grounds that that's better than dereferencing through a NULL vtable.
unix/gtkfont.c