diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-04-14 13:34:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-04-14 13:34:17 +0300 |
commit | 0c3a0c95bdbf7e1ef7c71fc1a86910269f1cb1bf (patch) | |
tree | cddfd6cbb2d9c7073e75dbe1f0897a135ed7fcc5 /src/gui/selldialog.cpp | |
parent | 035cc92ee2a435ff1d663e2037f543578dd2578a (diff) | |
download | manaverse-0c3a0c95bdbf7e1ef7c71fc1a86910269f1cb1bf.tar.gz manaverse-0c3a0c95bdbf7e1ef7c71fc1a86910269f1cb1bf.tar.bz2 manaverse-0c3a0c95bdbf7e1ef7c71fc1a86910269f1cb1bf.tar.xz manaverse-0c3a0c95bdbf7e1ef7c71fc1a86910269f1cb1bf.zip |
Fix code style.
Diffstat (limited to 'src/gui/selldialog.cpp')
-rw-r--r-- | src/gui/selldialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/selldialog.cpp b/src/gui/selldialog.cpp index 0e1b16de7..38355db03 100644 --- a/src/gui/selldialog.cpp +++ b/src/gui/selldialog.cpp @@ -179,7 +179,7 @@ void SellDialog::action(const gcn::ActionEvent &event) // The following actions require a valid item selection if (selectedItem == -1 || - selectedItem >= static_cast<int>(mShopItems->getNumberOfElements())) + selectedItem >= mShopItems->getNumberOfElements()) { return; } |