Commit 2485777c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove unused StringToKey()

parent 5f31ecb1
......@@ -87,7 +87,6 @@
#define KEY_MOUSEWHEELRIGHT 0x00F30000
VLC_EXPORT( char *, KeyToString, (uint_fast32_t i_key) ) LIBVLC_USED;
VLC_EXPORT( uint_fast32_t, StringToKey, (char *psz_key) ) LIBVLC_USED;
typedef enum vlc_key {
ACTIONID_NONE = 0,
......
......@@ -188,15 +188,6 @@ char *KeyToString (uint_fast32_t sym)
return NULL;
}
uint_fast32_t StringToKey (char *name)
{
for (size_t i = 0; i < vlc_num_keys; i++)
if (!strcmp (vlc_keys[i].psz_key_string, name))
return vlc_keys[i].i_key_code;
return cp_utf8 (name);
}
uint_fast32_t ConfigStringToKey (const char *name)
{
uint_fast32_t mods = 0;
......
......@@ -680,4 +680,3 @@ xml_ReaderCreate
xml_ReaderDelete
xml_ReaderReset
KeyToString
StringToKey
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