[Mplayer-cvslog] CVS: main/libmenu menu.c,1.7,1.8
Arpi of Ize
arpi at mplayerhq.hu
Sun Feb 2 02:43:45 CET 2003
Update of /cvsroot/mplayer/main/libmenu
In directory mail:/var/tmp.root/cvs-serv15779
Modified Files:
menu.c
Log Message:
Fixes a problem where the menu won't work, if you just use freetype fonts
and have no font.desc.
patch by Andreas Hess <jaska at gmx.net>
Index: menu.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmenu/menu.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- menu.c 26 Jan 2003 16:02:58 -0000 1.7
+++ menu.c 2 Feb 2003 01:43:40 -0000 1.8
@@ -117,8 +117,10 @@
char* buffer = NULL;
int bl = BUF_STEP, br = 0;
int f, fd;
+#ifndef HAVE_FREETYPE
if(vo_font == NULL)
return 0;
+#endif
fd = open(cfg_file, O_RDONLY);
if(fd < 0) {
printf("Can't open menu config file: %s\n",cfg_file);
More information about the MPlayer-cvslog
mailing list