- Fixed locations backups being placed in the app dir instead of config dir

This commit is contained in:
Andreas Schneider 2009-12-10 14:32:29 +01:00
parent 9c010eeb89
commit 5a2cde2ac8
1 changed files with 1 additions and 1 deletions

View File

@ -881,7 +881,7 @@ begin
MessageDlg('Warning', 'The Locations could not be loaded. Most likely it is an' + LineEnding +
'outdated version or the file is damaged.' + LineEnding + LineEnding +
'A backup will be made as "Locations.bak".', mtWarning, [mbOK], 0);
RenameFile(FLocationsFile, FAppDir + 'Locations.bak');
RenameFile(FLocationsFile, FConfigDir + 'Locations.bak');
end;
end;