From 39e8a98f7b567aaefa844edc040b1952ee40a6d6 Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Mon, 8 Jun 2015 14:15:50 +0200 Subject: fix a sizeof() error in Cmd_CallVote_f() --- src/game/g_cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index 9a225c24..cf203560 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -1350,7 +1350,7 @@ void Cmd_CallVote_f( gentity_t *ent ) return; } - Com_sprintf( level.voteString[ team ], sizeof( level.voteString ), + Com_sprintf( level.voteString[ team ], sizeof( level.voteString[ team ] ), "%s \"%s\"", vote, arg ); Com_sprintf( level.voteDisplayString[ team ], sizeof( level.voteDisplayString[ team ] ), -- cgit