# HG changeset patch # User ib # Date 1390498047 0 # Node ID e5ce1d3bd82c8647abfd01c624733a483106deff # Parent 3b504dde73a50e60c627d937eea29e5e5aa71eca Update font file filter of the file selector (only with FreeType). Add DESC file extension unconditionally. diff -r 3b504dde73a5 -r e5ce1d3bd82c gui/dialog/fileselect.c --- a/gui/dialog/fileselect.c Thu Jan 23 16:57:34 2014 +0000 +++ b/gui/dialog/fileselect.c Thu Jan 23 17:27:27 2014 +0000 @@ -125,9 +125,10 @@ #ifdef CONFIG_FREETYPE { MSGTR_Filter_TTF, "*.ttf" }, { MSGTR_Filter_Type1, "*.pfb" }, - { MSGTR_Filter_AllFonts, "*.pfb,*.ttf" }, -#else +#endif { MSGTR_Filter_FontFiles, "*.desc" }, +#ifdef CONFIG_FREETYPE + { MSGTR_Filter_AllFonts, "*.pfb,*.ttf,*.desc" }, #endif { MSGTR_Filter_AllFiles, "*" }, { NULL, NULL }