summaryrefslogtreecommitdiff
path: root/src/dirs.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-31 01:34:38 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-31 01:34:38 +0300
commite826d4c63365dde4c988453846437dcb65370945 (patch)
tree1bd23d4694c06d97e7e8c885253c0100fe6142b9 /src/dirs.cpp
parent75ca03c95c90064e67fa9eaddb4c609196dd3a27 (diff)
downloadmanaverse-e826d4c63365dde4c988453846437dcb65370945.tar.gz
manaverse-e826d4c63365dde4c988453846437dcb65370945.tar.bz2
manaverse-e826d4c63365dde4c988453846437dcb65370945.tar.xz
manaverse-e826d4c63365dde4c988453846437dcb65370945.zip
Improve setting default values for configuration objects.
Diffstat (limited to 'src/dirs.cpp')
-rw-r--r--src/dirs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dirs.cpp b/src/dirs.cpp
index c48e910d1..004e1fdb4 100644
--- a/src/dirs.cpp
+++ b/src/dirs.cpp
@@ -278,7 +278,7 @@ void Dirs::initRootDir()
if (settings.options.brandingPath.empty())
{
branding.init(portableName);
- branding.setDefaultValues(getBrandingDefaults());
+ setBrandingDefaults(branding);
}
logger->log("Portable file: %s", portableName.c_str());