[MPlayer-cvslog] r25178 - trunk/input/input.c
ulion
subversion at mplayerhq.hu
Tue Nov 27 09:27:21 CET 2007
Author: ulion
Date: Tue Nov 27 09:27:20 2007
New Revision: 25178
Log:
Use const char * to replace a char * parameterfor function parameter..
Modified:
trunk/input/input.c
Modified: trunk/input/input.c
==============================================================================
--- trunk/input/input.c (original)
+++ trunk/input/input.c Tue Nov 27 09:27:20 2007
@@ -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];
More information about the MPlayer-cvslog
mailing list