(svn r13168) -Fix (r13072): forgot to 'fix' EngList_SortPartial() together with EngList_Sort()

This commit is contained in:
smatz 2008-05-18 20:01:54 +00:00
parent 629c5ce740
commit 9aa69db2e6
1 changed files with 1 additions and 0 deletions

View File

@ -138,6 +138,7 @@ void EngList_SortPartial(EngineList *el, EngList_SortTypeFunction compare, uint
{
assert(begin <= (uint)el->size());
assert(begin + num_items <= (uint)el->size());
if (num_items < 2) return;
qsort(&((*el)[begin]), num_items, sizeof(EngineID), compare);
}