From: <wel...@us...> - 2010-04-26 11:03:58
|
Revision: 5831 http://planeshift.svn.sourceforge.net/planeshift/?rev=5831&view=rev Author: weltall2 Date: 2010-04-26 11:03:51 +0000 (Mon, 26 Apr 2010) Log Message: ----------- fixed sorting patch by rlydontknow Modified Paths: -------------- trunk/src/common/paws/pawslistbox.cpp Modified: trunk/src/common/paws/pawslistbox.cpp =================================================================== --- trunk/src/common/paws/pawslistbox.cpp 2010-04-25 17:45:30 UTC (rev 5830) +++ trunk/src/common/paws/pawslistbox.cpp 2010-04-26 11:03:51 UTC (rev 5831) @@ -1179,6 +1179,9 @@ sort_ascOrder = ascOrder; qsort(sortedRows, rows.GetSize(), sizeof (void*), sort_cmp); + for ( i=0; i < rows.GetSize(); i++) + rows[i] = sortedRows[i]; // save the sorting + delete [] sortedRows; CheckSortingArrow(sortColNum, ascOrder); //check if the sorting arrow is there if not add it This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |