# HG changeset patch # User smatz # Date 2008-05-27 19:58:32 # Node ID 2ccb6c5a3aae08f37996e7d5a79949ab22868562 # Parent 3af5a4c296582ea0ec1ecbaf3816f61270faf728 (svn r13296) -Fix (r13276): VL_FIRST_SORT was never reset diff --git a/src/sortlist_type.h b/src/sortlist_type.h --- a/src/sortlist_type.h +++ b/src/sortlist_type.h @@ -205,6 +205,7 @@ public: const bool desc = HASBITS(this->flags, VL_DESC); if (HASBITS(this->flags, VL_FIRST_SORT)) { + CLRBITS(this->flags, VL_FIRST_SORT); qsort(this->data, this->items, sizeof(T), (int (CDECL *)(const void *, const void *))compare); if (desc) this->Reverse();