Changeset 108 for trunk


Ignore:
Timestamp:
May 6, 2019, 1:41:36 PM (6 years ago)
Author:
chronos
Message:
  • Modified: Do not use old UTF8 functions variants.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMain.pas

    r106 r108  
    666666procedure TFormMain.AProjectSaveExecute(Sender: TObject);
    667667begin
    668   if Core.Project.Modified and FileExistsUTF8(Core.Project.FileName) then begin
     668  if Core.Project.Modified and FileExists(Core.Project.FileName) then begin
    669669    FormSourceCode.SynEditSource.Lines.SaveToFile(Core.Project.FileName);
    670670    Core.Project.Modified := False;
  • trunk/UTarget.pas

    r107 r108  
    420420  end;
    421421  if CompilerPath <> '' then begin;
    422     if FileExistsUTF8(CompilerPath) then
     422    if FileExists(CompilerPath) then
    423423    try
    424424      Process := TProcess.Create(nil);
     
    457457    'compiled' + DirectorySeparator + Name + DirectorySeparator +
    458458    ExtractFileNameOnly(ProjectFileName) + RunExtension;
    459   if not FileExistsUTF8(ExecutorPath) then
     459  if not FileExists(ExecutorPath) then
    460460    raise Exception.Create(Format(SExecutorNotFound, [ExecutorPath]));
    461461  if FileExists(CompiledFile) then
Note: See TracChangeset for help on using the changeset viewer.