mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[RAPPS] Fix column sorting
CORE-13793
This commit is contained in:
parent
b698067e35
commit
f4fedb936e
1 changed files with 1 additions and 6 deletions
|
@ -539,12 +539,7 @@ public:
|
|||
GetItemText(Index, iSubItem, Item2.GetBuffer(MAX_STR_LEN), MAX_STR_LEN);
|
||||
Item2.ReleaseBuffer();
|
||||
|
||||
if (bIsAscending)
|
||||
return Item2 == Item1;
|
||||
else
|
||||
return Item1 == Item2;
|
||||
|
||||
return 0;
|
||||
return bIsAscending ? Item1.Compare(Item2) : Item2.Compare(Item1);
|
||||
}
|
||||
|
||||
HWND Create(HWND hwndParent)
|
||||
|
|
Loading…
Reference in a new issue