From ee9a9503cee6b65d1258c808ede2523116b61af4 Mon Sep 17 00:00:00 2001 From: smatz Date: Tue, 27 May 2008 19:58:32 +0000 Subject: (svn r13296) -Fix (r13276): VL_FIRST_SORT was never reset --- src/sortlist_type.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sortlist_type.h') diff --git a/src/sortlist_type.h b/src/sortlist_type.h index 6e6d9c7fa..46dcc0839 100644 --- 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(); -- cgit v1.2.3-54-g00ecf