vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sun Dec 5 05:36:49 2010 +0200| [9e7cfdd896c1e3d8ebeaa4ef29e22da71d31265c] | committer: Rémi Denis-Courmont
add_key: declare the global key first > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9e7cfdd896c1e3d8ebeaa4ef29e22da71d31265c --- include/vlc_plugin.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/vlc_plugin.h b/include/vlc_plugin.h index e65dd45..77e8b7e 100644 --- a/include/vlc_plugin.h +++ b/include/vlc_plugin.h @@ -342,9 +342,9 @@ enum vlc_module_properties add_int_inner( CONFIG_ITEM_INTEGER, name, text, longtext, advc, value ) #define add_key( name, value, text, longtext, advc ) \ - add_int_inner( CONFIG_ITEM_KEY, name, text, longtext, advc, value ) \ add_int_inner( CONFIG_ITEM_KEY, "global-" name, text, longtext, advc, \ - KEY_UNSET ) + KEY_UNSET ) \ + add_int_inner( CONFIG_ITEM_KEY, name, text, longtext, advc, value ) #define add_integer_with_range( name, value, i_min, i_max, p_callback, text, longtext, advc ) \ add_integer( name, value, text, longtext, advc ) \ _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
