summaryrefslogtreecommitdiff
path: root/src/gui/windows/questswindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/questswindow.cpp')
-rw-r--r--src/gui/windows/questswindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/questswindow.cpp b/src/gui/windows/questswindow.cpp
index 269f2aab9..80d853778 100644
--- a/src/gui/windows/questswindow.cpp
+++ b/src/gui/windows/questswindow.cpp
@@ -378,7 +378,8 @@ void QuestsWindow::setMap(const Map *const map)
if (mMap == nullptr)
return;
- const std::string name = mMap->getProperty("shortName");
+ const std::string name = mMap->getProperty("shortName",
+ std::string());
FOR_EACHP (STD_VECTOR<QuestEffect*>::const_iterator, it, mAllEffects)
{
const QuestEffect *const effect = *it;