diff options
Diffstat (limited to 'src/qcommon')
-rw-r--r-- | src/qcommon/common.c | 4 | ||||
-rw-r--r-- | src/qcommon/qcommon.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/qcommon/common.c b/src/qcommon/common.c index 11e723c1..80a8df7b 100644 --- a/src/qcommon/common.c +++ b/src/qcommon/common.c @@ -3451,7 +3451,7 @@ static qboolean Field_CompletePlayerNameFinal( qboolean whitespace ) return qfalse; } -static void Name_PlayerNameCompletion( const char **names, int nameCount, void(*callback)(const char *s) ) +static void Name_PlayerNameCompletion( const char *const *names, int nameCount, void(*callback)(const char *s) ) { int i; @@ -3535,7 +3535,7 @@ qboolean Com_PlayerNameToFieldString( char *str, int length, const char *name ) return qtrue; } -void Field_CompletePlayerName( char **names, int nameCount ) +void Field_CompletePlayerName( const char *const *names, int nameCount ) { qboolean whitespace; diff --git a/src/qcommon/qcommon.h b/src/qcommon/qcommon.h index ef8fcbd5..0413a36c 100644 --- a/src/qcommon/qcommon.h +++ b/src/qcommon/qcommon.h @@ -742,7 +742,7 @@ void Field_CompleteFilename( const char *dir, const char *ext, qboolean stripExt, qboolean allowNonPureFilesOnDisk ); void Field_CompleteCommand( char *cmd, qboolean doCommands, qboolean doCvars ); -void Field_CompletePlayerName( char **names, int count ); +void Field_CompletePlayerName( const char *const *names, int count ); /* ============================================================== |