Opened 17 years ago
Last modified 17 years ago
#1497 closed Patch
Arraysort in DirTreeCtrl
|Reported by:||cole945||Owned by:|
|Keywords:||Cc:||cole945, Tim Kosse|
|Component version:||Operating system type:|
|Operating system version:|
Both quicksort and insertsort work incorrectly :X
Quicksort sorts [1,5,7,6,3,2,4] into [1,2,3,6,]4[5,7].
I have re-written it :p
And the sorting result in FileZilla is kind of
different in Windows Explorer with some Chinese words.
I think it may be the problem of CollateNoCase(), but I
don't know how to solve it :(
Change History (2)
by , 17 years ago
comment:1 by , 17 years ago
Thanks for the fix, applied to CVS.
About the CollateNoCase problem: I've noticed it myself. The
wide and narrow character functions behave differently for
some reason and I haven't yet found a solution myself.
Note: See TracTickets for help on using tickets.
patch of arraysort