summaryrefslogtreecommitdiffstats
path: root/SavEdit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'SavEdit.cpp')
-rw-r--r--SavEdit.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/SavEdit.cpp b/SavEdit.cpp
index 1052a22..84c44c8 100644
--- a/SavEdit.cpp
+++ b/SavEdit.cpp
@@ -84,7 +84,7 @@ void SavEdit::backup()
*/
// Generate backup file name
- std::string backup_name = "." + getFilename() ".BAK-" + std::to_string(m_changes);
+ std::string backup_name = "." + getFilename() + ".BAK-" + std::to_string(m_changes);
save(backup_name);
@@ -161,3 +161,5 @@ void SavEdit::saveNewFile()
save(getFilename());
}
+
+