changeset 25150:c4376432f72f

Use const char * to replace a char * parameter.
author ulion
date Tue, 27 Nov 2007 08:27:20 +0000
parents 7493e9bc7293
children 0a7931371bc0
files input/input.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/input/input.c	Tue Nov 27 00:33:59 2007 +0000
+++ b/input/input.c	Tue Nov 27 08:27:20 2007 +0000
@@ -1374,7 +1374,7 @@
 }
 
 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];