mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-11 00:39:41 +01:00
* last char of prefix should be a /
git-svn-id: trunk@196 -
This commit is contained in:
parent
e3aef781eb
commit
68350b00fa
@ -118,6 +118,11 @@ begin
|
|||||||
maxequal:=j;
|
maxequal:=j;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
{ test/p1.pas test/p2.pas should use the prefix test/ instead of test/p }
|
||||||
|
if maxequal<65535 then
|
||||||
|
while (maxequal>0) and (paths[0][maxequal]<>'/') do
|
||||||
|
dec(maxequal);
|
||||||
|
|
||||||
{ generate prefix }
|
{ generate prefix }
|
||||||
pathtemp:=' * '+copy(paths[0],1,maxequal)+': ';
|
pathtemp:=' * '+copy(paths[0],1,maxequal)+': ';
|
||||||
for i:=0 to paths.Count-1 do
|
for i:=0 to paths.Count-1 do
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user