summaryrefslogtreecommitdiff
path: root/src/gui/selldialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-14 13:34:17 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-14 13:34:17 +0300
commit0c3a0c95bdbf7e1ef7c71fc1a86910269f1cb1bf (patch)
treecddfd6cbb2d9c7073e75dbe1f0897a135ed7fcc5 /src/gui/selldialog.cpp
parent035cc92ee2a435ff1d663e2037f543578dd2578a (diff)
downloadManaVerse-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.cpp2
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;
}