mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 01:19:37 +02:00
LazUtils: Make sure CompareText comes from SysUtils. Issue #40814.
(cherry picked from commit 5e2a753239
)
This commit is contained in:
parent
6b7cc9b72f
commit
1b4af8a4d7
@ -384,7 +384,7 @@ begin
|
||||
if CaseSensitive then
|
||||
Result := CompareStr(FnExt, Ext)
|
||||
else
|
||||
Result := CompareText(FnExt, Ext);
|
||||
Result := SysUtils.CompareText(FnExt, Ext); // SysUtils needed for Darwin-i386
|
||||
if Result < 0 then
|
||||
Result := -1
|
||||
else if Result > 0 then
|
||||
|
Loading…
Reference in New Issue
Block a user