summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/questswindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/questswindow.cpp b/src/gui/windows/questswindow.cpp
index c35bb80b1..c8ce4246e 100644
--- a/src/gui/windows/questswindow.cpp
+++ b/src/gui/windows/questswindow.cpp
@@ -478,7 +478,7 @@ void QuestsWindow::showQuest(const QuestItem *const quest)
const std::string var1 = toString(var.var1);
const std::string var2 = toString(var.var2);
const std::string var3 = toString(var.var3);
- const std::string timeStr = timeDiffToString(var.time1).c_str();
+ const std::string timeStr = timeDiffToString(var.time1);
mText->clearRows();
FOR_EACH (std::vector<QuestItemText>::const_iterator, it, texts)
{