mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-30 19:40:21 +02:00
parent
438995b249
commit
39f1244041
@ -394,7 +394,8 @@ begin
|
||||
if RegQueryValue(Handle,nil,@sRefSrc[1],@il) = ERROR_SUCCESS then
|
||||
begin
|
||||
SetLength(sRefSrc,il-1); // includes null terminator
|
||||
if not FDependencies.Find(sRefSrc,i) then
|
||||
i:=FDependencies.Indexof(sRefSrc);
|
||||
if i < 0 Then
|
||||
FDependencies.Add(sRefSrc);
|
||||
end
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user