* replace : with ; in AddPath

git-svn-id: trunk@9161 -
This commit is contained in:
peter 2007-11-08 08:24:07 +00:00
parent a67b2a7484
commit af9e8b489c

View File

@ -930,7 +930,7 @@ implementation
procedure TSearchPathList.AddPath(SrcPath,s:TCmdStr;addfirst:boolean);
var
staridx,
j : longint;
i,j : longint;
prefix,
suffix,
CurrentDir,
@ -970,6 +970,10 @@ implementation
exit;
{ Support default macro's }
DefaultReplacements(s);
if PathSeparator <> ';' then
for i:=1 to length(s) do
if s[i]=PathSeparator then
s[i]:=';';
{ get current dir }
CurrentDir:=GetCurrentDir;
repeat