mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-21 23:10:34 +01:00
IDE: simplified
git-svn-id: trunk@47754 -
This commit is contained in:
parent
312c5f1c59
commit
707c60c7eb
@ -1682,7 +1682,7 @@ begin
|
|||||||
BackupFilename:=FileNameOnly+FileExt;
|
BackupFilename:=FileNameOnly+FileExt;
|
||||||
end;
|
end;
|
||||||
if BackupInfo.SubDirectory<>'' then
|
if BackupInfo.SubDirectory<>'' then
|
||||||
BackupFilename:=SubDir+PathDelim+BackupFilename
|
BackupFilename:=AppendPathDelim(SubDir)+BackupFilename
|
||||||
else
|
else
|
||||||
BackupFilename:=FilePath+BackupFilename;
|
BackupFilename:=FilePath+BackupFilename;
|
||||||
// remove old backup file
|
// remove old backup file
|
||||||
@ -1700,7 +1700,7 @@ begin
|
|||||||
end else begin
|
end else begin
|
||||||
// backup with counter
|
// backup with counter
|
||||||
if BackupInfo.SubDirectory<>'' then
|
if BackupInfo.SubDirectory<>'' then
|
||||||
BackupFilename:=SubDir+PathDelim+FileNameOnly+FileExt+';'
|
BackupFilename:=AppendPathDelim(SubDir)+FileNameOnly+FileExt+';'
|
||||||
else
|
else
|
||||||
BackupFilename:=Filename+';';
|
BackupFilename:=Filename+';';
|
||||||
if BackupInfo.MaxCounter<=0 then begin
|
if BackupInfo.MaxCounter<=0 then begin
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user