summaryrefslogtreecommitdiff
path: root/src/gui/npcdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-30 22:53:47 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-31 12:50:04 +0300
commit85c5fc06d49e8309d273873d31448688bd494d49 (patch)
tree80d83e16ef273c147b0d1915edca44baf6899933 /src/gui/npcdialog.cpp
parent60d90692e487948b77edcac63acbef34254cea5b (diff)
downloadmv-85c5fc06d49e8309d273873d31448688bd494d49.tar.gz
mv-85c5fc06d49e8309d273873d31448688bd494d49.tar.bz2
mv-85c5fc06d49e8309d273873d31448688bd494d49.tar.xz
mv-85c5fc06d49e8309d273873d31448688bd494d49.zip
fix code style and some minor issues.
Diffstat (limited to 'src/gui/npcdialog.cpp')
-rw-r--r--src/gui/npcdialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/npcdialog.cpp b/src/gui/npcdialog.cpp
index 27a5dbf43..22cecebd2 100644
--- a/src/gui/npcdialog.cpp
+++ b/src/gui/npcdialog.cpp
@@ -336,6 +336,7 @@ void NpcDialog::action(const gcn::ActionEvent &event)
return;
printText = mTextField->getText();
Net::getNpcHandler()->stringInput(mNpcId, printText);
+ break;
}
case NPC_INPUT_INTEGER:
{
@@ -344,6 +345,7 @@ void NpcDialog::action(const gcn::ActionEvent &event)
printText = strprintf("%d", mIntField->getValue());
Net::getNpcHandler()->integerInput(
mNpcId, mIntField->getValue());
+ break;
}
case NPC_INPUT_ITEM:
{