# HG changeset patch # User smatz # Date 1211918312 0 # Node ID f3fd0650f9d5b150e82f8753a6b968d29bead086 # Parent fb9912284d338a094962363316c2e3707499dc04 (svn r13296) -Fix (r13276): VL_FIRST_SORT was never reset diff -r fb9912284d33 -r f3fd0650f9d5 src/sortlist_type.h --- a/src/sortlist_type.h Tue May 27 19:03:06 2008 +0000 +++ b/src/sortlist_type.h Tue May 27 19:58:32 2008 +0000 @@ -205,6 +205,7 @@ 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();