mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-04 13:37:22 +01:00
Educationlaz: Use FileExists instead of FileExistsUTF8. Fix compilation.
git-svn-id: trunk@52239 -
This commit is contained in:
parent
23712d9f1c
commit
5238eb9493
@ -19,7 +19,7 @@ interface
|
||||
|
||||
uses
|
||||
Classes, SysUtils, LCLProc, LazConfigStorage, Controls, Forms, BaseIDEIntf,
|
||||
FileUtil, LazIDEIntf, IDEOptionsIntf, ProjectIntf;
|
||||
LazFileUtils, LazIDEIntf, IDEOptionsIntf, ProjectIntf;
|
||||
|
||||
resourcestring
|
||||
EduRSEducation = 'Education';
|
||||
@ -412,7 +412,7 @@ var
|
||||
FullFilename: String;
|
||||
begin
|
||||
FullFilename:=GetFullFilename;
|
||||
if FileExistsUTF8(FullFilename)
|
||||
if FileExists(FullFilename)
|
||||
and (FLastSavedChangeStep=TEduOptsRootNode(Root).ChangeStep) then
|
||||
Result:=mrOK;
|
||||
Result:=SaveToFile(Filename);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user