LazEdit: no need to convert ConfigDir to ANSI encoding.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7271 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
lazarus-bart
2020-01-12 12:47:54 +00:00
parent 886abdf31d
commit 0a6aed4630

View File

@ -1652,10 +1652,7 @@ begin
end; end;
if (_PCP <> EmptyStr) then if (_PCP <> EmptyStr) then
begin begin
_PCP := ExcludeTrailingPathdelimiter(ExpandFileName(_PCP)); ConfigFileDir := ExcludeTrailingPathdelimiter(ExpandFileName(_PCP));
//MyGetOpt returns parameters as UTF8
//inifiles uses system-encoding
ConfigFileDir := Utf8ToWinCP(_PCP);
end; end;
{$endif} {$endif}
end; end;