From 17d4da66ed914d8904f270fa1a1add0694c5c387 Mon Sep 17 00:00:00 2001 From: Ianos Gnatiuc Date: Sat, 3 Dec 2005 20:32:19 +0000 Subject: [PATCH] Fixed replylinkshowalways for areas with 0 messages --- docs/notework.txt | 2 ++ golded3/gemlst.cpp | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/notework.txt b/docs/notework.txt index d9389e6..8e1c3b3 100644 --- a/docs/notework.txt +++ b/docs/notework.txt @@ -10,6 +10,8 @@ ______________________________________________________________________ Notes for GoldED+ 1.1.5, /snapshot/ ______________________________________________________________________ +- Fixed replylinkshowalways for areas with 0 messages. + - Fixed address lookup from header editor (pressing ENTER on empty To:). - Fixed keystacking conflicts: diff --git a/golded3/gemlst.cpp b/golded3/gemlst.cpp index 26e39c5..ed675fa 100644 --- a/golded3/gemlst.cpp +++ b/golded3/gemlst.cpp @@ -1237,7 +1237,8 @@ void GThreadlist::Run() { BuildThreadIndex(reader_msg->msgno); - if(CFG->replylinkshowalways || (list.size() > 1)) + size_t size = list.size(); + if ((CFG->replylinkshowalways && (size > 0)) || (size > 1)) run_picker(); else { w_info(LNG->NoThreadlist);