summaryrefslogtreecommitdiff
path: root/src/touchscreengui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/touchscreengui.cpp')
-rw-r--r--src/touchscreengui.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/touchscreengui.cpp b/src/touchscreengui.cpp
index 9a1ef4086..e849b4053 100644
--- a/src/touchscreengui.cpp
+++ b/src/touchscreengui.cpp
@@ -37,8 +37,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
using namespace irr::core;
-extern Settings *g_settings;
-
const char** touchgui_button_imagenames = (const char*[]) {
"up_arrow.png",
"down_arrow.png",
@@ -356,7 +354,7 @@ void AutoHideButtonBar::step(float dtime)
void AutoHideButtonBar::deactivate()
{
- if (m_visible == true) {
+ if (m_visible) {
m_starter.guibutton->setVisible(true);
m_starter.guibutton->setEnabled(true);
}