mirror of
https://github.com/reactos/reactos.git
synced 2025-04-28 01:11:35 +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);
|
GetItemText(Index, iSubItem, Item2.GetBuffer(MAX_STR_LEN), MAX_STR_LEN);
|
||||||
Item2.ReleaseBuffer();
|
Item2.ReleaseBuffer();
|
||||||
|
|
||||||
if (bIsAscending)
|
return bIsAscending ? Item1.Compare(Item2) : Item2.Compare(Item1);
|
||||||
return Item2 == Item1;
|
|
||||||
else
|
|
||||||
return Item1 == Item2;
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
HWND Create(HWND hwndParent)
|
HWND Create(HWND hwndParent)
|
||||||
|
|
Loading…
Reference in a new issue