mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-22 20:29:25 +01:00
ide: lazconf: fix Primary- and SecondaryConfigPath. They should end without path delimiter (see InternalInit in lazbaseconf.inc)
git-svn-id: trunk@51400 -
This commit is contained in:
parent
35f6ae024f
commit
befd8e10cb
@ -323,7 +323,7 @@ end;
|
||||
procedure SetPrimaryConfigPath(const NewValue: String);
|
||||
begin
|
||||
debugln('SetPrimaryConfigPath NewValue="',UTF8ToConsole(NewValue),'" -> "',UTF8ToConsole(ExpandFileNameUTF8(NewValue)),'"');
|
||||
PrimaryConfigPath := AppendPathDelim(ExpandFileNameUTF8(NewValue));
|
||||
PrimaryConfigPath := ChompPathDelim(ExpandFileNameUTF8(NewValue));
|
||||
end;
|
||||
|
||||
{---------------------------------------------------------------------------
|
||||
@ -332,7 +332,7 @@ end;
|
||||
procedure SetSecondaryConfigPath(const NewValue: String);
|
||||
begin
|
||||
debugln('SetSecondaryConfigPath NewValue="',UTF8ToConsole(NewValue),'" -> "',UTF8ToConsole(ExpandFileNameUTF8(NewValue)),'"');
|
||||
SecondaryConfigPath := AppendPathDelim(ExpandFileNameUTF8(NewValue));
|
||||
SecondaryConfigPath := ChompPathDelim(ExpandFileNameUTF8(NewValue));
|
||||
end;
|
||||
|
||||
{---------------------------------------------------------------------------
|
||||
|
||||
Loading…
Reference in New Issue
Block a user