Use different characters as sorting arrow on Wine. See #1090

This commit is contained in:
Ansgar Becker
2020-07-17 17:29:13 +02:00
parent 0cd90e839d
commit 435d47a7fa

View File

@ -5416,10 +5416,12 @@ begin
if ColSortIndex > -1 then begin
Inc(SortArea.Left, SortArea.Width - Sender.Images.Width);
if ColSortDirection = sdAscending then begin
SortText := '▲';
// This is a bit wrong - "Ubuntu" has the first character, but not the
// second one which seems available on many Windows fonts. See #1090
SortText := IfThen(IsWine, '↑', '▲');
NumCharTop := 0;
end else begin
SortText := '▼';
SortText := IfThen(IsWine, '↓', '▼');
NumCharTop := 5;
end;
// Paint arrow: