mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
Make the stream labeling in tuimenu identical to guimenu
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2789 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
3098def6c2
commit
5b85ffc865
1 changed files with 4 additions and 3 deletions
|
@ -4347,9 +4347,10 @@ void Menu_Draw(cluster_t *cluster, viewer_t *viewer)
|
||||||
min+=20;
|
min+=20;
|
||||||
for (; sv && i < min; sv = sv->next, i++)
|
for (; sv && i < min; sv = sv->next, i++)
|
||||||
{
|
{
|
||||||
Info_ValueForKey(sv->serverinfo, "hostname", str, sizeof(str));
|
//Info_ValueForKey(sv->serverinfo, "hostname", str, sizeof(str));
|
||||||
if (sv->parsingconnectiondata || !sv->modellist[1].name[0])
|
//if (sv->parsingconnectiondata || !sv->modellist[1].name[0])
|
||||||
snprintf(str, sizeof(str), "%s", sv->server);
|
// snprintf(str, sizeof(str), "%s", sv->server);
|
||||||
|
snprintf(str, sizeof(str), "%s", *sv->hostname?sv->hostname:sv->server);
|
||||||
|
|
||||||
if (i == viewer->menuop)
|
if (i == viewer->menuop)
|
||||||
for (s = (unsigned char *)str; *s; s++)
|
for (s = (unsigned char *)str; *s; s++)
|
||||||
|
|
Loading…
Reference in a new issue