Opened 18 years ago
Last modified 18 years ago
#1497 closed Patch
Arraysort in DirTreeCtrl
Reported by: | cole945 | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | FileZilla Client |
Keywords: | Cc: | cole945, Tim Kosse | |
Component version: | Operating system type: | ||
Operating system version: |
Description
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 :(
Attachments (1)
Change History (2)
by , 18 years ago
Attachment: | DirTreeCtrl.cpp.2224a.diff added |
---|
comment:1 by , 18 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