From 06a309994f2307681ab2d2a5cab2fabd29b5460f Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Mon, 8 Aug 2005 12:15:09 +0000 Subject: [PATCH] Fix discussion thread navigation. Thanks to Ianos Gnatiuc 2:469/335.155 --- golded3/gemlst.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/golded3/gemlst.cpp b/golded3/gemlst.cpp index 3a6a8ea..47e82b6 100644 --- a/golded3/gemlst.cpp +++ b/golded3/gemlst.cpp @@ -1029,7 +1029,7 @@ bool GThreadlist::NextThread(bool next) { uint m = AA->Msgn.ToReln(reader_msg->msgno); for(m = m ? m-1 : 0; - next ? m < AA->Msgn.Count() : m; + next ? m < AA->Msgn.Count() : m!=-1; next ? m++ : m--) { dword msgn = AA->Msgn[m];