summaryrefslogtreecommitdiff
path: root/src/gui/npcpostdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/npcpostdialog.cpp')
-rw-r--r--src/gui/npcpostdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/npcpostdialog.cpp b/src/gui/npcpostdialog.cpp
index a4740027..7a85dda5 100644
--- a/src/gui/npcpostdialog.cpp
+++ b/src/gui/npcpostdialog.cpp
@@ -97,7 +97,7 @@ void NpcPostDialog::action(const gcn::ActionEvent &event)
}
else
{
- Mana::Event event("doSendLetter");
+ Mana::Event event(EVENT_DOSENDLETTER);
event.setInt("npcId", mNpcId);
event.setString("recipient", mSender->getText());
event.setString("text", mText->getText());