Commit e51a229b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

config: remove advanced from add_font()

parent 3a074f79
......@@ -382,7 +382,7 @@ VLC_METADATA_EXPORTS
#define add_directory(name, value, text, longtext) \
add_string_inner(CONFIG_ITEM_DIRECTORY, name, text, longtext, value)
#define add_font( name, value, text, longtext, advc )\
#define add_font(name, value, text, longtext) \
add_string_inner(CONFIG_ITEM_FONT, name, text, longtext, value)
#define add_module( name, psz_caps, value, text, longtext, advc ) \
......
......@@ -148,8 +148,9 @@ vlc_module_begin ()
set_subcategory( SUBCAT_VIDEO_SUBPIC )
#ifdef HAVE_GET_FONT_BY_FAMILY_NAME
add_font( "freetype-font", DEFAULT_FAMILY, FONT_TEXT, FAMILY_LONGTEXT, false )
add_font( "freetype-monofont", DEFAULT_MONOSPACE_FAMILY, MONOSPACE_FONT_TEXT, FAMILY_LONGTEXT, false )
add_font("freetype-font", DEFAULT_FAMILY, FONT_TEXT, FAMILY_LONGTEXT)
add_font("freetype-monofont", DEFAULT_MONOSPACE_FAMILY,
MONOSPACE_FONT_TEXT, FAMILY_LONGTEXT)
#else
add_loadfile("freetype-font", DEFAULT_FONT_FILE, FONT_TEXT, FONT_LONGTEXT)
add_loadfile("freetype-monofont", DEFAULT_MONOSPACE_FONT_FILE,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment