Fix discussion thread navigation. Thanks to Ianos Gnatiuc 2:469/335.155

This commit is contained in:
Stas Degteff 2005-08-08 12:15:09 +00:00
parent 2179b64ed1
commit 06a309994f

View File

@ -1029,7 +1029,7 @@ bool GThreadlist::NextThread(bool next) {
uint m = AA->Msgn.ToReln(reader_msg->msgno); uint m = AA->Msgn.ToReln(reader_msg->msgno);
for(m = m ? m-1 : 0; for(m = m ? m-1 : 0;
next ? m < AA->Msgn.Count() : m; next ? m < AA->Msgn.Count() : m!=-1;
next ? m++ : m--) { next ? m++ : m--) {
dword msgn = AA->Msgn[m]; dword msgn = AA->Msgn[m];