diff --git a/golded3/gealst.cpp b/golded3/gealst.cpp index 740e4c2..ddd3ecc 100644 --- a/golded3/gealst.cpp +++ b/golded3/gealst.cpp @@ -65,13 +65,13 @@ int compare_groups(int ga, int gb) gbp = strchr(CFG->arealistgrouporder, (char)gb); if(gap == NULL) { if(gbp != NULL) - return -1; + return 1; else return compare_two(ga, gb); } else { if(gbp == NULL) - return 1; + return -1; else return compare_two(gap, gbp); } diff --git a/golded3/gemlst.cpp b/golded3/gemlst.cpp index 4842a7d..ad96e52 100644 --- a/golded3/gemlst.cpp +++ b/golded3/gemlst.cpp @@ -889,19 +889,16 @@ void GThreadlist::recursive_build(ulong msgn, ulong rn) { if(not AA->Msgn.ToReln(t.replynext)) t.replynext = 0; - uint j; + uint j, list_size = list.size(); bool found = false; - for(j=0; j