diff gui/dialog/fileselect.c @ 36613:e5ce1d3bd82c

Update font file filter of the file selector (only with FreeType). Add DESC file extension unconditionally.
author ib
date Thu, 23 Jan 2014 17:27:27 +0000
parents 236d31040749
children a6a86c77e9cc
line wrap: on
line diff
--- 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          }