mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-22 16:19:27 +02:00
codetools: fixed searching in directory cache
git-svn-id: trunk@12223 -
This commit is contained in:
parent
06c51688cf
commit
925f622bfe
@ -674,7 +674,7 @@ begin
|
||||
while r>=l do begin
|
||||
m:=(l+r) shr 1;
|
||||
CurFilename:=@FListing.Names[FListing.NameStarts[m]];
|
||||
cmp:=stricomp(PChar(Pointer(UnitName)),CurFilename);
|
||||
cmp:=ComparePCharFirstCaseInsThenCase(PChar(Pointer(UnitName)),CurFilename);
|
||||
if cmp>0 then
|
||||
l:=m+1
|
||||
else if cmp<0 then
|
||||
|
Loading…
Reference in New Issue
Block a user