Fixed thread starting position.

This commit is contained in:
Ianos Gnatiuc 2006-09-30 06:45:34 +00:00
parent 673ebc8bca
commit f8ab6d0c90

View File

@ -1115,11 +1115,14 @@ void GThreadlist::BuildThreadIndex(dword msgn)
index = 0; index = 0;
h_offset = 0; h_offset = 0;
new_hoffset = 0; new_hoffset = 0;
}
for (uint i = 0; i < list.size(); i++) for (uint i = 0; i < list.size(); i++)
{
if (list[i].msgno == msgn)
{ {
if (list[i].msgno == msgn) index = i;
index = i; break;
} }
} }