mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-08 09:38:29 +02:00
LazUtils: Make sure CompareText comes from SysUtils. Issue #40814.
This commit is contained in:
parent
deb0488a9f
commit
5e2a753239
@ -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