mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
Use const char * to replace a char * parameter.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25178 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
@@ -1374,7 +1374,7 @@ mp_input_get_key_name(int key) {
|
||||
}
|
||||
|
||||
static int
|
||||
mp_input_get_key_from_name(char* name) {
|
||||
mp_input_get_key_from_name(const char *name) {
|
||||
int i,ret = 0,len = strlen(name);
|
||||
if(len == 1) { // Direct key code
|
||||
ret = (unsigned char)name[0];
|
||||
|
||||
Reference in New Issue
Block a user