summaryrefslogtreecommitdiff
path: root/src/gui/charselectdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/charselectdialog.cpp')
-rw-r--r--src/gui/charselectdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/charselectdialog.cpp b/src/gui/charselectdialog.cpp
index a48193457..6ac0dd3fe 100644
--- a/src/gui/charselectdialog.cpp
+++ b/src/gui/charselectdialog.cpp
@@ -255,7 +255,7 @@ void CharSelectDialog::action(const gcn::ActionEvent &event)
character->data.mAttributes[PlayerInfo::EXP],
Units::formatCurrency(
character->data.mAttributes[PlayerInfo::MONEY]).c_str());
- new OkDialog(data->getName().c_str(), msg.c_str(), DIALOG_SILENCE);
+ new OkDialog(data->getName(), msg, DIALOG_SILENCE);
}
}
if (eventId == "switch")