Commit df2a3c1b authored by Rafaël Carré's avatar Rafaël Carré

shortcuts are strings

parent 28944cf0
...@@ -122,7 +122,8 @@ E_(vlc_entry) ( module_t *p_module ); ...@@ -122,7 +122,8 @@ E_(vlc_entry) ( module_t *p_module );
goto error goto error
#define add_shortcut( shortcut ) \ #define add_shortcut( shortcut ) \
if (vlc_module_set (p_submodule, VLC_MODULE_SHORTCUT, (int)(shortcut))) \ if (vlc_module_set (p_submodule, VLC_MODULE_SHORTCUT, \
(const char *)(shortcut))) \
goto error goto error
#define set_shortname( shortname ) \ #define set_shortname( shortname ) \
......
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