Mercurial > mplayer.hg
changeset 9212:24b102dbd0fe
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@gmx.net>
author | arpi |
---|---|
date | Sun, 02 Feb 2003 01:43:40 +0000 |
parents | 383e3cc8ee88 |
children | 601ed700e1cc |
files | libmenu/menu.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmenu/menu.c Sun Feb 02 01:38:29 2003 +0000 +++ b/libmenu/menu.c Sun Feb 02 01:43:40 2003 +0000 @@ -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);