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:
ulion 2007-11-27 08:27:20 +00:00
parent facdbc77aa
commit 7961a457ba
1 changed files with 1 additions and 1 deletions

View File

@ -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];