mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 10:00:48 +02:00
ide: output some strings to the console using console code page
git-svn-id: trunk@18533 -
This commit is contained in:
parent
a237ac08d0
commit
e8466521ad
@ -493,7 +493,7 @@ begin
|
||||
GetPrimaryConfigPath+'/'+DefaultCodeToolsOptsFile);
|
||||
CopySecondaryConfigFile(DefaultCodeToolsOptsFile);
|
||||
if (not FileExistsUTF8(ConfFileName)) then begin
|
||||
debugln(lisCompilerNOTECodetoolsConfigFileNotFoundUsingDefaults);
|
||||
debugln(UTF8ToConsole(lisCompilerNOTECodetoolsConfigFileNotFoundUsingDefaults));
|
||||
end;
|
||||
FFilename:=ConfFilename;
|
||||
end;
|
||||
|
@ -11772,10 +11772,12 @@ procedure TMainIDE.InitCodeToolBoss;
|
||||
procedure AddTemplate(ADefTempl: TDefineTemplate; AddToPool: boolean;
|
||||
const ErrorMsg: string);
|
||||
begin
|
||||
if ADefTempl=nil then begin
|
||||
if ADefTempl = nil then
|
||||
begin
|
||||
DebugLn('');
|
||||
DebugLn(ErrorMsg);
|
||||
end else begin;
|
||||
DebugLn(UTF8ToConsole(ErrorMsg));
|
||||
end else
|
||||
begin
|
||||
if AddToPool then
|
||||
CodeToolBoss.DefinePool.Add(ADefTempl.CreateCopy(false,true,true));
|
||||
CodeToolBoss.DefineTree.Add(ADefTempl);
|
||||
|
Loading…
Reference in New Issue
Block a user