summaryrefslogtreecommitdiff
path: root/src
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
parent035cc92ee2a435ff1d663e2037f543578dd2578a (diff)
downloadmv-0c3a0c95bdbf7e1ef7c71fc1a86910269f1cb1bf.tar.gz
mv-0c3a0c95bdbf7e1ef7c71fc1a86910269f1cb1bf.tar.bz2
mv-0c3a0c95bdbf7e1ef7c71fc1a86910269f1cb1bf.tar.xz
mv-0c3a0c95bdbf7e1ef7c71fc1a86910269f1cb1bf.zip
Fix code style.
Diffstat (limited to 'src')
-rw-r--r--src/gui/selldialog.cpp2
-rw-r--r--src/gui/setup_input.h5
-rw-r--r--src/keyboardconfig.cpp1
3 files changed, 4 insertions, 4 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;
}
diff --git a/src/gui/setup_input.h b/src/gui/setup_input.h
index 31bc5bcb1..79c7e73ff 100644
--- a/src/gui/setup_input.h
+++ b/src/gui/setup_input.h
@@ -24,12 +24,13 @@
#ifndef GUI_SETUP_INPUT_H
#define GUI_SETUP_INPUT_H
-#include "guichanfwd.h"
-
#include "gui/widgets/setuptab.h"
#include <guichan/actionlistener.hpp>
+#include <guichan/widgets/button.hpp>
+#include <guichan/widgets/listbox.hpp>
+
#include <string>
class Setup_Input : public SetupTab
diff --git a/src/keyboardconfig.cpp b/src/keyboardconfig.cpp
index 7ebe7c9b3..c9f4fef38 100644
--- a/src/keyboardconfig.cpp
+++ b/src/keyboardconfig.cpp
@@ -24,7 +24,6 @@
#include "configuration.h"
#include "inputmanager.h"
-#include "keyboarddata.h"
#include "logger.h"
#include "gui/sdlinput.h"