From 707c60c7eb2c8246cdbe5100829b71e1c3c7c92b Mon Sep 17 00:00:00 2001 From: mattias Date: Fri, 13 Feb 2015 21:31:36 +0000 Subject: [PATCH] IDE: simplified git-svn-id: trunk@47754 - --- ide/buildmanager.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ide/buildmanager.pas b/ide/buildmanager.pas index edd59e7660..0e9a5a45eb 100644 --- a/ide/buildmanager.pas +++ b/ide/buildmanager.pas @@ -1682,7 +1682,7 @@ begin BackupFilename:=FileNameOnly+FileExt; end; if BackupInfo.SubDirectory<>'' then - BackupFilename:=SubDir+PathDelim+BackupFilename + BackupFilename:=AppendPathDelim(SubDir)+BackupFilename else BackupFilename:=FilePath+BackupFilename; // remove old backup file @@ -1700,7 +1700,7 @@ begin end else begin // backup with counter if BackupInfo.SubDirectory<>'' then - BackupFilename:=SubDir+PathDelim+FileNameOnly+FileExt+';' + BackupFilename:=AppendPathDelim(SubDir)+FileNameOnly+FileExt+';' else BackupFilename:=Filename+';'; if BackupInfo.MaxCounter<=0 then begin