From 535a90acfb563d261df7e01501e0ecb7d61dd3c2 Mon Sep 17 00:00:00 2001 From: "Alexander S. Aganichev" Date: Thu, 20 Dec 2001 16:10:24 +0000 Subject: [PATCH] Fixed sorting for the AREASEP --- docs/notework.txt | 3 +++ golded3/gealst.cpp | 2 ++ 2 files changed, 5 insertions(+) diff --git a/docs/notework.txt b/docs/notework.txt index 8663962..c3db404 100644 --- a/docs/notework.txt +++ b/docs/notework.txt @@ -12,6 +12,9 @@ ______________________________________________________________________ Notes for GoldED+ 1.1.5, /snapshot/ ______________________________________________________________________ +- Fixed arealist sorting so the TYUE in AREALISTSORT will not cause + ugly screen when AREASEP is used. + + Added ability to READ packed messagebases. You need to add PKD attribute to such echo definition and specify UNPACKER for the extension defined. You should pack all files from the single diff --git a/golded3/gealst.cpp b/golded3/gealst.cpp index f6c1fdc..674656c 100644 --- a/golded3/gealst.cpp +++ b/golded3/gealst.cpp @@ -172,6 +172,8 @@ extern "C" int AreaListCmp(const Area** __a, const Area** __b) { case 'T': if((cmp = compare_two(CFG->areatypeorder[A->type()&0xFF], CFG->areatypeorder[B->type()&0xFF])) != 0) return cmp; + if((cmp = compare_two(b->isseparator(), a->isseparator())) != 0) + return cmp; break; case 'U': aunread = A->Msgn.Count() - A->lastread();