From: RĂ©mi Denis-Courmont Date: Sun, 19 Aug 2007 18:47:09 +0000 (+0000) Subject: What is add_password_inner supposed to be, except a reinvention of add_string_inner? X-Git-Tag: 0.9.0-test0~6363 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=307361a5acf71648d0f0b874610f501d62a69fe5;p=vlc What is add_password_inner supposed to be, except a reinvention of add_string_inner? --- diff --git a/include/vlc_configuration.h b/include/vlc_configuration.h index 6ced4a5c2f..dc52c37939 100644 --- a/include/vlc_configuration.h +++ b/include/vlc_configuration.h @@ -264,10 +264,6 @@ VLC_EXPORT(const char *, config_GetDataDir, ( void )); add_typename_inner( type, name, text, longtext, advc, cb ); \ p_config[i_config].value.psz = v -#define add_password_inner( type, name, text, longtext, advc, cb, v ) \ - add_typename_inner( type, name, text, longtext, advc, cb ); \ - p_config[i_config].value.psz = v - #define add_int_inner( type, name, text, longtext, advc, cb, v ) \ add_typename_inner( type, name, text, longtext, advc, cb ); \ p_config[i_config].value.i = v @@ -300,7 +296,7 @@ VLC_EXPORT(const char *, config_GetDataDir, ( void )); add_string_inner( CONFIG_ITEM_STRING, name, text, longtext, advc, p_callback, value ) #define add_password( name, value, p_callback, text, longtext, advc ) \ - add_password_inner( CONFIG_ITEM_PASSWORD, name, text, longtext, advc, p_callback, value ) + add_string_inner( CONFIG_ITEM_PASSWORD, name, text, longtext, advc, p_callback, value ) #define add_file( name, value, p_callback, text, longtext, advc ) \ add_string_inner( CONFIG_ITEM_FILE, name, text, longtext, advc, p_callback, value )