mirror of
https://github.com/winscp/winscp.git
synced 2026-10-24 02:28:55 +03:00
Files with the same name except for a letter case are sorted deterministically
Source commit: cce181391a149efe4c91df0027b5af7617b6416d
This commit is contained in:
@@ -675,6 +675,9 @@ begin
|
||||
Result := StrCmpLogicalW(PChar(S1), PChar(S2))
|
||||
else
|
||||
Result := lstrcmpi(PChar(S1), PChar(S2));
|
||||
// For deterministics results
|
||||
if Result = 0 then
|
||||
Result := lstrcmp(PChar(S1), PChar(S2));
|
||||
end;
|
||||
|
||||
{ Shortcut-handling }
|
||||
|
||||
Reference in New Issue
Block a user