diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/configmanager.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/configmanager.cpp b/src/configmanager.cpp index 8e130e315..0b452598c 100644 --- a/src/configmanager.cpp +++ b/src/configmanager.cpp @@ -129,7 +129,8 @@ void ConfigManager::initConfiguration() } if (!configFile) { - logger->log("Can't create %s. Using defaults.", configPath.c_str()); + logger->log("Can't create %s. Using defaults.", + configPath.c_str()); } else { @@ -143,8 +144,11 @@ void ConfigManager::initConfiguration() void ConfigManager::backupConfig(const std::string &name) { - const std::string confName = std::string(settings.configDir).append( - "/").append(name).append(".bak"); + const std::string confName = std::string( + settings.configDir).append( + "/").append( + name).append( + ".bak"); const int maxFileIndex = 5; ::remove((confName + toString(maxFileIndex)).c_str()); for (int f = maxFileIndex; f > 1; f --) |