From 435d47a7fa05130fa3b42818727bf29e778822fe Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Fri, 17 Jul 2020 17:29:13 +0200 Subject: [PATCH] Use different characters as sorting arrow on Wine. See #1090 --- source/main.pas | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/main.pas b/source/main.pas index 372bdb16..67404948 100644 --- a/source/main.pas +++ b/source/main.pas @@ -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: