1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-17 11:00:59 -05:00

GTK: fixes to the previous font fallback patch.

I'd forgotten that I'd already chosen a default client-side font, for
NOT_X_WINDOWS builds. I should have made the two defaults match! Now
both default font names are defined in the header file.
This commit is contained in:
Simon Tatham
2025-01-10 08:15:11 +00:00
parent b088d77d58
commit 7f4cccde2a
2 changed files with 15 additions and 5 deletions

View File

@ -5361,8 +5361,8 @@ void new_session_window(Conf *conf, const char *geometry_string)
goto fonts_ok;
static const char *const fallbacks[] = {
"client:Monospace 10",
"server:fixed",
DEFAULT_GTK_CLIENT_FONT,
DEFAULT_GTK_SERVER_FONT,
};
for (size_t i = 0; i < lenof(fallbacks); i++) {
Conf *fallback_conf = conf_new();