Fixed a crash in the qtv clients menu
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2498 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
31a53c738c
commit
2e8fe03892
1 changed files with 1 additions and 1 deletions
|
@ -4083,7 +4083,7 @@ void Menu_Draw(cluster_t *cluster, viewer_t *viewer)
|
||||||
WriteString2(&m, "\nActive Clients\n\n");
|
WriteString2(&m, "\nActive Clients\n\n");
|
||||||
|
|
||||||
start = viewer->menuop & ~7;
|
start = viewer->menuop & ~7;
|
||||||
for (i = 0; i < start; i++)
|
for (i = 0; i < start && v; i++)
|
||||||
v = v->next;
|
v = v->next;
|
||||||
for (i = start; i < start+8 && v; i++, v = v->next)
|
for (i = start; i < start+8 && v; i++, v = v->next)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue