From db7e43b79e20d692cc5825e6dcd1eb38c8b1c8ab Mon Sep 17 00:00:00 2001 From: Spoike Date: Wed, 27 Apr 2005 09:10:03 +0000 Subject: [PATCH] Fix some warnings. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@981 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/zqtp.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/engine/client/zqtp.c b/engine/client/zqtp.c index 042b2a3b0..32164b8ac 100644 --- a/engine/client/zqtp.c +++ b/engine/client/zqtp.c @@ -1055,18 +1055,18 @@ static char *Macro_LastSeenPowerup(void) { macro_buf[0] = 0; if (vars.enemy_powerups & TP_QUAD) - Q_strncatz(macro_buf, tp_name_quad.string); + Q_strncatz2(macro_buf, tp_name_quad.string); if (vars.enemy_powerups & TP_PENT) { if (macro_buf[0]) - Q_strncatz(macro_buf, tp_name_separator.string); - Q_strncatz(macro_buf, tp_name_pent.string); + Q_strncatz2(macro_buf, tp_name_separator.string); + Q_strncatz2(macro_buf, tp_name_pent.string); } if (vars.enemy_powerups & TP_RING) { if (macro_buf[0]) - Q_strncatz(macro_buf, tp_name_separator.string); - Q_strncatz(macro_buf, tp_name_ring.string); + Q_strncatz2(macro_buf, tp_name_separator.string); + Q_strncatz2(macro_buf, tp_name_ring.string); } } return macro_buf; @@ -2795,10 +2795,10 @@ static void TP_FindPoint (void) { name = teammate ? tp_name_teammate.string : tp_name_enemy.string; } if (beststate->effects & EF_BLUE) - Q_strncatz(buf, tp_name_quaded.string); + Q_strncatz2(buf, tp_name_quaded.string); if (beststate->effects & EF_RED) - Q_strncatz(buf, va("%s%s", buf[0] ? " " : "", tp_name_pented.string)); - Q_strncatz(buf, va("%s%s", buf[0] ? " " : "", name)); + Q_strncatz2(buf, va("%s%s", buf[0] ? " " : "", tp_name_pented.string)); + Q_strncatz2(buf, va("%s%s", buf[0] ? " " : "", name)); Q_strncpyz (vars.pointname, buf, sizeof(vars.pointname)); Q_strncpyz (vars.pointloc, TP_LocationName (beststate->origin), sizeof(vars.pointloc));