From affe24fa3b3cb08c396d94f9e88c404d26da7ddc Mon Sep 17 00:00:00 2001 From: "M. Kristall" Date: Wed, 28 Oct 2009 20:05:36 +0000 Subject: * Fix a bug with command concatenation with commands entered from the chat ui --- src/ui/ui_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ui/ui_main.c b/src/ui/ui_main.c index 896d0ca7..a1423e86 100644 --- a/src/ui/ui_main.c +++ b/src/ui/ui_main.c @@ -3051,7 +3051,7 @@ static void UI_RunMenuScript( char **args ) else if( ui_chatCommands.integer && ( buffer[ 0 ] == '/' || buffer[ 0 ] == '\\' ) ) { - trap_Cmd_ExecuteText( EXEC_APPEND, buffer + 1 ); + trap_Cmd_ExecuteText( EXEC_APPEND, va( "%s\n", buffer + 1 ) ); } else if( uiInfo.chatTeam ) trap_Cmd_ExecuteText( EXEC_APPEND, va( "say_team \"%s\"\n", buffer ) ); -- cgit