src/sortlist_type.h
changeset 10746 dd943cc2c373
parent 10736 e3111a03f9c2
child 10791 0f3e94733e65
--- 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();