summaryrefslogtreecommitdiff
path: root/src/gui/windows/minimap.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-22 02:03:59 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-22 02:03:59 +0300
commit5133814218de74d57c7febadf61b3ab05216dc25 (patch)
tree60b88270c9a50ef333fefed38c805baab00429a1 /src/gui/windows/minimap.cpp
parentcc7a39f467a49b2e91717739cb6e7c3c4b34a245 (diff)
downloadplus-5133814218de74d57c7febadf61b3ab05216dc25.tar.gz
plus-5133814218de74d57c7febadf61b3ab05216dc25.tar.bz2
plus-5133814218de74d57c7febadf61b3ab05216dc25.tar.xz
plus-5133814218de74d57c7febadf61b3ab05216dc25.zip
Remove default parameters from properties.h
Diffstat (limited to 'src/gui/windows/minimap.cpp')
-rw-r--r--src/gui/windows/minimap.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/minimap.cpp b/src/gui/windows/minimap.cpp
index 7f48f4a10..cf46bb6c6 100644
--- a/src/gui/windows/minimap.cpp
+++ b/src/gui/windows/minimap.cpp
@@ -181,7 +181,8 @@ void Minimap::setMap(const Map *const map)
std::string tempname = pathJoin(paths.getStringValue("minimaps"),
map->getFilename()).append(".png");
- std::string minimapName = map->getProperty("minimap");
+ std::string minimapName = map->getProperty("minimap",
+ std::string());
if (minimapName.empty() && VirtFs::exists(tempname))
minimapName = tempname;