* fix mantis #29970

git-svn-id: trunk@33432 -
This commit is contained in:
marco 2016-04-07 09:30:03 +00:00
parent 438995b249
commit 39f1244041

View File

@ -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