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

config: remove advanced from add_key()

parent 1bbbe098
......@@ -5,7 +5,7 @@
# The current full list of config strings vlc understands is always in vlc's
# src/libvlc.h file. Look for lines like:
# add_key( "key-fullscreen", KEY_FULLSCREEN, FULLSCREEN_KEY_TEXT,
# FULLSCREEN_KEY_LONGTEXT, VLC_FALSE );
# FULLSCREEN_KEY_LONGTEXT )
# You will need the first argument of these lines. in this case: key-fullscreen
begin
......
......@@ -411,7 +411,7 @@ VLC_METADATA_EXPORTS
add_int_inner(CONFIG_ITEM_RGB, name, text, longtext, value) \
change_integer_range( 0, 0xFFFFFF )
#define add_key( name, value, text, longtext, advc ) \
#define add_key(name, value, text, longtext) \
add_string_inner(CONFIG_ITEM_KEY, "global-" name, text, longtext, \
KEY_UNSET) \
add_string_inner(CONFIG_ITEM_KEY, name, text, longtext, value)
......
This diff is collapsed.
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