mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
CtrlLib: ArrayCtrl sort improved, Core: GetLanguageInfo() optimized
git-svn-id: svn://ultimatepp.org/upp/trunk@13419 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
b76a6ae8e5
commit
90752f380c
11 changed files with 74 additions and 163 deletions
|
|
@ -2491,7 +2491,7 @@ void ArrayCtrl::Sort(int from, int count, Gate<int, int> order)
|
|||
for(int i = 0; i < array.GetCount(); i++)
|
||||
h.Add(i);
|
||||
SortA();
|
||||
StableSort(SubRange(h, from, count).Write(), order);
|
||||
CoStableSort(SubRange(h, from, count).Write(), order);
|
||||
SortB(h);
|
||||
Refresh();
|
||||
SyncInfo();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue