diff options
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/ui_main.c | 2 |
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 ); } |