diff --git a/modules/control/rc.c b/modules/control/rc.c index 0580a5d86887eb2e2d7e0e020c62d2d82d45bb66..b60c8967c19b2f5c21c6f4c1295f7f625d6d21bd 100644 --- a/modules/control/rc.c +++ b/modules/control/rc.c @@ -201,6 +201,9 @@ vlc_module_begin () set_capability( "interface", 20 ) set_callbacks( Activate, Deactivate ) +#ifdef WIN32 + add_shortcut( "rc" ) +#endif vlc_module_end () /***************************************************************************** diff --git a/modules/misc/lua/intf.c b/modules/misc/lua/intf.c index 3fea2731d0108ffd1ef6307849cb9d640e4b5fec..6b283a498fcc1fb8b53737c615db4af32e9fb6a1 100644 --- a/modules/misc/lua/intf.c +++ b/modules/misc/lua/intf.c @@ -71,7 +71,9 @@ static const struct const char *psz_name; } pp_shortcuts[] = { { "luarc", "rc" }, +#ifndef WIN32 { "rc", "rc" }, +#endif { "luahotkeys", "hotkeys" }, /* { "hotkeys", "hotkeys" }, */ { "luatelnet", "telnet" }, diff --git a/modules/misc/lua/vlc.c b/modules/misc/lua/vlc.c index 52dc54a5150dff11e6d34d3e4aa3abbcae2f923c..4056ff358d40e3c962f83221f9e18f72dd9b7080 100644 --- a/modules/misc/lua/vlc.c +++ b/modules/misc/lua/vlc.c @@ -144,7 +144,9 @@ vlc_module_begin () add_submodule () set_description( N_("Lua Interface Module (shortcuts)") ) add_shortcut( "luarc" ) +#ifndef WIN32 add_shortcut( "rc" ) +#endif set_capability( "interface", 25 ) set_callbacks( Open_LuaIntf, Close_LuaIntf )