mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 06:20:17 +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
|
if CaseSensitive then
|
||||||
Result := CompareStr(FnExt, Ext)
|
Result := CompareStr(FnExt, Ext)
|
||||||
else
|
else
|
||||||
Result := CompareText(FnExt, Ext);
|
Result := SysUtils.CompareText(FnExt, Ext); // SysUtils needed for Darwin-i386
|
||||||
if Result < 0 then
|
if Result < 0 then
|
||||||
Result := -1
|
Result := -1
|
||||||
else if Result > 0 then
|
else if Result > 0 then
|
||||||
|
Loading…
Reference in New Issue
Block a user