diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-30 22:53:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-31 12:50:04 +0300 |
commit | 85c5fc06d49e8309d273873d31448688bd494d49 (patch) | |
tree | 80d83e16ef273c147b0d1915edca44baf6899933 /src/gui/npcdialog.cpp | |
parent | 60d90692e487948b77edcac63acbef34254cea5b (diff) | |
download | mv-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.cpp | 2 |
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: { |