diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-02-01 17:16:57 -0700 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-02-01 17:16:57 -0700 |
commit | 20d2a17c8c0fa9220c257d61641a6459e154de26 (patch) | |
tree | da684e4d7caab6f5dd8c886ebe86a0bc5711064c /src/gui/minimap.cpp | |
parent | 205171b242cefe1e84d26b07f13cc8f652e6fb94 (diff) | |
download | mana-20d2a17c8c0fa9220c257d61641a6459e154de26.tar.gz mana-20d2a17c8c0fa9220c257d61641a6459e154de26.tar.bz2 mana-20d2a17c8c0fa9220c257d61641a6459e154de26.tar.xz mana-20d2a17c8c0fa9220c257d61641a6459e154de26.zip |
Attempt to fix Minimap caption again...
Diffstat (limited to 'src/gui/minimap.cpp')
-rw-r--r-- | src/gui/minimap.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gui/minimap.cpp b/src/gui/minimap.cpp index ef86dfd4..2088f070 100644 --- a/src/gui/minimap.cpp +++ b/src/gui/minimap.cpp @@ -77,12 +77,9 @@ Minimap::~Minimap() void Minimap::setMap(Map *map) { // Set the title for the Minimap - std::string caption = ""; + std::string caption = map ? map->getName() : ""; std::string minimapName; - if (map) - caption = map->getName(); - if (caption.empty()) caption = _("Map"); |