1
0
Fork 0

(svn r13328) -Fix (r13327): Don't access an item when there isn't any

release/0.7
skidd13 2008-05-29 16:47:22 +00:00
parent a8abdaec92
commit bed7719967
1 changed files with 1 additions and 1 deletions

View File

@ -427,7 +427,7 @@ public:
if (id_v >= this->vscroll.cap) return; // click out of bounds
id_v += this->vscroll.pos;
this->server = this->servers[id_v];
this->server = (id_v < this->servers.Length()) ? this->servers[id_v] : NULL;
this->SetDirty();
} break;