]> asedeno.scripts.mit.edu Git - PuTTY.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)
commit896f9f22562b7f32946c7d3310655ec4d52b0a5e
tree7f8efd24bd9757a81bf548406d8c9d8e231b5cba
parentac115f9082d36ede34c18485741932ef8182ecbc
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.

[originally from svn r9745]
unix/gtkdlg.c
unix/gtkwin.c
unix/unix.h