# HG changeset patch # User ib # Date 1390752673 0 # Node ID 40c36c45384f5038908f7d38e3d77da82d59478f # Parent 289d315088ad4c1aa8c7faba451e00f7ef3705ef Revert r36709. With CONFIG_FREETYPE set, *.desc font files can't be changed with immediate effect which might confuse the GUI user. It is still possible to select *.desc by the "all files" filter though. diff -r 289d315088ad -r 40c36c45384f gui/dialog/fileselect.c --- a/gui/dialog/fileselect.c Sun Jan 26 12:53:26 2014 +0000 +++ b/gui/dialog/fileselect.c Sun Jan 26 16:11:13 2014 +0000 @@ -125,10 +125,9 @@ #ifdef CONFIG_FREETYPE { MSGTR_Filter_TTF, "*.ttf" }, { MSGTR_Filter_Type1, "*.pfb" }, -#endif + { MSGTR_Filter_AllFonts, "*.pfb,*.ttf" }, +#else { MSGTR_Filter_FontFiles, "*.desc" }, -#ifdef CONFIG_FREETYPE - { MSGTR_Filter_AllFonts, "*.pfb,*.ttf,*.desc" }, #endif { MSGTR_Filter_AllFiles, "*" }, { NULL, NULL }