From 1161e866f7a074c7c89a0447ee3712e6944513a3 Mon Sep 17 00:00:00 2001 From: "M. Kristall" Date: Sat, 3 Oct 2009 11:48:04 +0000 Subject: * (bug 3631) Macro safety for MIN() and MAX() (Ben Millwood) * (bug 3645) Lag correction field in server info menus is always empty (Ben Millwood) * (bug 3653) stack corruption in G_SendGameStat() (/dev/humancontroller) * (bug 3662) Players who fall of the edge of the world can block the spawn queue (/dev/humancontroller) * Remove unused argument to G_ClientNumberFromString() * Remove unused variables in G_admin_setlevel() * Remove a number of superfluous va()s * Shut up erroneous warnings about uninitialized variables --- src/ui/ui_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui') diff --git a/src/ui/ui_main.c b/src/ui/ui_main.c index 730cc498..d19d5824 100644 --- a/src/ui/ui_main.c +++ b/src/ui/ui_main.c @@ -4320,7 +4320,7 @@ void UI_DrawConnectScreen( qboolean overlay ) Text_PaintCenter( centerPoint, yStart + 48, scale, colorWhite, va( "Starting up..." ), ITEM_TEXTSTYLE_SHADOWEDMORE ); else { - strcpy( text, va( "Connecting to %s", cstate.servername ) ); + Com_sprintf( text, sizeof( text ), "Connecting to %s", cstate.servername ); Text_PaintCenter( centerPoint, yStart + 48, scale, colorWhite, text , ITEM_TEXTSTYLE_SHADOWEDMORE ); } -- cgit