summaryrefslogtreecommitdiff
path: root/src/ui/ui_main.c
diff options
context:
space:
mode:
authorM. Kristall <mkpdev@gmail.com>2009-10-03 11:48:04 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:15:22 +0000
commit1161e866f7a074c7c89a0447ee3712e6944513a3 (patch)
tree3feeec7b0dd0f2d9cc67595dace9c08f0794f32f /src/ui/ui_main.c
parenta5c0d84f64a2687ff4008c129800706834209168 (diff)
* (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
Diffstat (limited to 'src/ui/ui_main.c')
-rw-r--r--src/ui/ui_main.c2
1 files changed, 1 insertions, 1 deletions
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 );
}