From 17db07ae8addfb0952875e3af929ca83a08ba481 Mon Sep 17 00:00:00 2001 From: Christopher Schwarz Date: Wed, 14 Oct 2009 18:34:07 +0000 Subject: * (bug 4302) Fix server join list - Merge featured / regluar server list back into one list, with featured sorted to the top and sporting emoticons to show their distinction - Show a key for the featured server type icons (Exclamation) * (bug 4303) Disallow (escape) emoticons in server hostnames --- src/cgame/cg_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cgame') diff --git a/src/cgame/cg_draw.c b/src/cgame/cg_draw.c index 2a0a2ba5..18427b8a 100644 --- a/src/cgame/cg_draw.c +++ b/src/cgame/cg_draw.c @@ -1149,7 +1149,7 @@ static void CG_DrawHostname( rectDef_t *rect, float text_x, float text_y, info = CG_ConfigString( CS_SERVERINFO ); - Q_strncpyz( buffer, Info_ValueForKey( info, "sv_hostname" ), 1024 ); + UI_EscapeEmoticons( buffer, Info_ValueForKey( info, "sv_hostname" ), sizeof( buffer ) ); Q_CleanStr( buffer ); UI_DrawTextBlock( rect, text_x, text_y, color, scale, textalign, textvalign, textStyle, buffer ); -- cgit