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:
ondrej 2016-01-24 22:48:50 +00:00
parent 35f6ae024f
commit befd8e10cb

View File

@ -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;
{---------------------------------------------------------------------------