diff options
author | Christopher Schwarz <lakitu7@gmail.com> | 2009-10-14 18:34:07 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:16:49 +0000 |
commit | 17db07ae8addfb0952875e3af929ca83a08ba481 (patch) | |
tree | 98fa08f27cd010b472c6f7464e81c7be5b055c53 /src/cgame | |
parent | 6e60e823ac94aeed888abbe15ea99f6ede3cc535 (diff) |
* (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
Diffstat (limited to 'src/cgame')
-rw-r--r-- | src/cgame/cg_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 ); |