From 80b099b6573aa7a234cafd0d2430b95fbf839f49 Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Sun, 13 Jul 2014 19:15:19 +0200 Subject: remove some '\n's from strings passed to error calls --- src/game/bg_voice.c | 4 ++-- src/game/g_client.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/game') diff --git a/src/game/bg_voice.c b/src/game/bg_voice.c index 828219aa..44cfd17f 100644 --- a/src/game/bg_voice.c +++ b/src/game/bg_voice.c @@ -378,7 +378,7 @@ static voiceCmd_t *BG_VoiceParse( char *name ) trap_Parse_SourceFileAndLine( handle, filename, &line ); Com_Error( ERR_FATAL, "BG_VoiceParse(): " - "parse error on line %d of %s\n", line, filename ); + "parse error on line %d of %s", line, filename ); } } @@ -389,7 +389,7 @@ static voiceCmd_t *BG_VoiceParse( char *name ) trap_Parse_SourceFileAndLine( handle, filename, &line ); Com_Error( ERR_FATAL, "BG_VoiceParse(): " - "command \"%s\" exceeds MAX_VOICE_CMD_LEN (%d) on line %d of %s\n", + "command \"%s\" exceeds MAX_VOICE_CMD_LEN (%d) on line %d of %s", token.string, MAX_VOICE_CMD_LEN, line, filename ); } diff --git a/src/game/g_client.c b/src/game/g_client.c index 5156b3e1..b8439312 100644 --- a/src/game/g_client.c +++ b/src/game/g_client.c @@ -1258,7 +1258,7 @@ void ClientSpawn( gentity_t *ent, gentity_t *spawn, vec3_t origin, vec3_t angles { if( spawn == NULL ) { - G_Error( "ClientSpawn: spawn is NULL\n" ); + G_Error( "ClientSpawn: spawn is NULL" ); return; } -- cgit