diff options
Diffstat (limited to 'libmenu/menu.c')
-rw-r--r-- | libmenu/menu.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libmenu/menu.c b/libmenu/menu.c index 9ceae087cb..cb02e5bb51 100644 --- a/libmenu/menu.c +++ b/libmenu/menu.c @@ -40,7 +40,7 @@ menu_info_t* menu_info_list[] = { &menu_info_filesel, &menu_info_txt, &menu_info_console, -#ifdef HAS_DVBIN_SUPPORT +#ifdef CONFIG_DVBIN &menu_info_dvbsel, #endif &menu_info_pref, @@ -220,7 +220,7 @@ int menu_init(struct MPContext *mpctx, struct m_config *mconfig, char* buffer = NULL; int bl = BUF_STEP, br = 0; int f, fd; -#ifndef HAVE_FREETYPE +#ifndef CONFIG_FREETYPE if(vo_font == NULL) return 0; #endif @@ -413,7 +413,7 @@ static void render_txt(char *txt) } } -#ifdef HAVE_FRIBIDI +#ifdef CONFIG_FRIBIDI #include <fribidi/fribidi.h> #include "libavutil/common.h" char *menu_fribidi_charset = NULL; @@ -469,7 +469,7 @@ void menu_draw_text(mp_image_t* mpi,char* txt, int x, int y) { return; } -#ifdef HAVE_FRIBIDI +#ifdef CONFIG_FRIBIDI txt = menu_fribidi(txt); #endif render_txt(txt); @@ -503,7 +503,7 @@ void menu_draw_text_full(mp_image_t* mpi,char* txt, return; } -#ifdef HAVE_FRIBIDI +#ifdef CONFIG_FRIBIDI txt = menu_fribidi(txt); #endif render_txt(txt); |