profile viewer, col w/ func name vever sorted

This commit is contained in:
Basile Burg 2017-03-06 18:18:57 +01:00
parent 97c5d210e8
commit d1dcefda18
No known key found for this signature in database
GPG Key ID: 1868039F415CB8CF
1 changed files with 1 additions and 3 deletions

View File

@ -241,15 +241,13 @@ end;
procedure TCEProfileViewerWidget.listCompare(Sender: TObject; item1, item2: TListItem; Data: Integer; var Compare: Integer);
var
txt1: string = '';
txt2: string = '';
i1, i2: qword;
col: Integer;
begin
col := list.SortColumn;
if col = 4 then
begin
Compare := AnsiCompareStr(txt1, txt2);
Compare := AnsiCompareStr(item1.SubItems[3], item2.SubItems[3]);
end
else
begin