(svn r13296) -Fix (r13276): VL_FIRST_SORT was never reset
authorsmatz
Tue, 27 May 2008 19:58:32 +0000
changeset 9386 f3fd0650f9d5
parent 9385 fb9912284d33
child 9387 ede823d445f5
(svn r13296) -Fix (r13276): VL_FIRST_SORT was never reset
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();