]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
Reorganise setup_fonts_ucs so that in case of error it does nothing
authorSimon Tatham <anakin@pobox.com>
Sun, 13 Jan 2013 21:59:10 +0000 (21:59 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 13 Jan 2013 21:59:10 +0000 (21:59 +0000)
commit112071eed6a48baa2c30e1b6f1ef2b5518c3e2a1
tree7f8efd24bd9757a81bf548406d8c9d8e231b5cba
parent8cd50edcede2e58ae13a9823edff0b29bdd36412
Reorganise setup_fonts_ucs so that in case of error it does nothing
and returns its error message as a string, instead of actually
printing it on standard error and exiting. Now we can preserve the
previous error behaviour when we get a nonexistent font name at
startup time, but no longer rudely terminate in mid-session if the
user configures a bogus font name in Change Settings.

git-svn-id: http://svn.tartarus.org/sgt/putty@9745 cda61777-01e9-0310-a592-d414129be87e
unix/gtkdlg.c
unix/gtkwin.c
unix/unix.h