[MPlayer-cvslog] r36709 - trunk/gui/dialog/fileselect.c

ib subversion at mplayerhq.hu
Thu Jan 23 18:27:27 CET 2014


Author: ib
Date: Thu Jan 23 18:27:27 2014
New Revision: 36709

Log:
Update font file filter of the file selector (only with FreeType).

Add DESC file extension unconditionally.

Modified:
   trunk/gui/dialog/fileselect.c

Modified: trunk/gui/dialog/fileselect.c
==============================================================================
--- trunk/gui/dialog/fileselect.c	Thu Jan 23 17:57:34 2014	(r36708)
+++ trunk/gui/dialog/fileselect.c	Thu Jan 23 18:27:27 2014	(r36709)
@@ -125,9 +125,10 @@ char *fsFontFileNames[][2] = {
 #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          }


More information about the MPlayer-cvslog mailing list