* fix writing of multiple files per path

git-svn-id: trunk@337 -
This commit is contained in:
peter 2005-06-10 07:03:21 +00:00
parent 7449f99d5f
commit 39efda1fde

View File

@ -154,7 +154,8 @@ begin
if maxequal+1<length(pathprefixes[i]) then
pathtemp:=pathtemp+Copy(pathprefixes[i],maxequal+1,65535)+': ';
firstpath:=true;
for j:=0 to paths.Count-1 do
j:=0;
while (j<paths.Count) do
begin
if ExtractFilePath(paths[j])=pathprefixes[i] then
begin
@ -174,8 +175,9 @@ begin
pathtemp:=pathtemp+hs;
{ delete already processed paths for performance }
paths.delete(j);
break;
end;
end
else
inc(j);
end;
if pathtemp<>newlineprefix then
writeln(pathtemp);