[vlc-commits] commit: add_key: declare the global key first ( =?UTF-8?Q?R=C3=A9mi=20Denis=2DCourmont=20?=)
git at videolan.org
git at videolan.org
Sun Dec 5 04:44:44 CET 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | 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 ) \
More information about the vlc-commits
mailing list