mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 05:38:25 +02:00
IDE: fixed startlazarus expanding --pcp
git-svn-id: branches/fixes_2_0@64253 -
This commit is contained in:
parent
2889401bd2
commit
8a0f57666f
@ -288,7 +288,9 @@ var
|
||||
p: string;
|
||||
begin
|
||||
Result:=s;
|
||||
for p in [PrimaryConfPathOptLong,SecondaryConfPathOptLong,LazarusDirOpt] do
|
||||
for p in [PrimaryConfPathOptLong,PrimaryConfPathOptShort,
|
||||
SecondaryConfPathOptLong,SecondaryConfPathOptShort,
|
||||
LazarusDirOpt] do
|
||||
if LeftStr(Result,length(p))=p then
|
||||
begin
|
||||
Result:=LeftStr(Result,length(p))+ExpandFileNameUTF8(copy(Result,length(p)+1,length(Result)));
|
||||
|
Loading…
Reference in New Issue
Block a user