From 45cc7cef1909b643b1ab577aef457e929ffa2e82 Mon Sep 17 00:00:00 2001 From: Ianos Gnatiuc Date: Thu, 24 Nov 2005 09:56:26 +0000 Subject: [PATCH] Node address will be shown on nodelist lookup, if point address is not found --- docs/notework.txt | 2 ++ golded3/genode.cpp | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/notework.txt b/docs/notework.txt index d794950..3172f1d 100644 --- a/docs/notework.txt +++ b/docs/notework.txt @@ -10,6 +10,8 @@ ______________________________________________________________________ Notes for GoldED+ 1.1.5, /snapshot/ ______________________________________________________________________ ++ Node address will be shown on nodelist lookup, if point address is not found. + + ')' and '(' chars can be used for advanced search. ')' - shortcut for "<>:" (from, to, subject), and '(' - for "#._*@%" (body, tagline, tearline, origin, signature, kludges) diff --git a/golded3/genode.cpp b/golded3/genode.cpp index 63ed304..633b1fa 100644 --- a/golded3/genode.cpp +++ b/golded3/genode.cpp @@ -1005,7 +1005,7 @@ void Lookup(GMsg* msg, Addr* addr, char* name, int topline, char* status) { else NLP->find(matchaddr); - found = (NLP->found() && (exactmatch || topline == -100)); + found = NLP->found() && exactmatch; if (found && (topline != -100)) { @@ -1013,9 +1013,9 @@ void Lookup(GMsg* msg, Addr* addr, char* name, int topline, char* status) { if(NLP->next()) if(NLP->found()) found = false; - NLP->pop_state(); + NLP->pop_state(); } - else if (!found && matchaddr.point && (topline == -100)) + else if (!found && matchaddr.point) { matchaddr.point = 0; NLP->find(matchaddr);