From 85c5fc06d49e8309d273873d31448688bd494d49 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 30 Aug 2013 22:53:47 +0300 Subject: fix code style and some minor issues. --- src/gui/npcdialog.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/npcdialog.cpp') 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: { -- cgit v1.2.3-70-g09d2