From 3e1f0e1a63a6d60c6b2051762e0f2bbe4741ed43 Mon Sep 17 00:00:00 2001 From: David Capello Date: Mon, 8 Mar 2010 23:34:48 -0200 Subject: [PATCH] Now the default font is loaded from the skin (skins/default_skin_font.pcx). --- src/modules/gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/gui.cpp b/src/modules/gui.cpp index 91aa07797..0e2e86558 100644 --- a/src/modules/gui.cpp +++ b/src/modules/gui.cpp @@ -575,8 +575,8 @@ void reload_default_font() if ((user_font) && (*user_font)) dirs_add_path(dirs, user_font); - usprintf(buf, "fonts/ase%d.pcx", jguiscale()); - dirs_cat_dirs(dirs, filename_in_datadir(buf)); + // TODO This should be in SkinneableTheme class + dirs_cat_dirs(dirs, filename_in_datadir("skins/default_skin_font.pcx")); // Try to load the font for (dir=dirs; dir; dir=dir->next) {