summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 7b0756623..029c9c417 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -283,7 +283,9 @@ Client::Client(const Options &options) :
mVideoButton(nullptr),
mThemesButton(nullptr),
mPerfomanceButton(nullptr),
+#ifdef ANDROID
mCloseButton(nullptr),
+#endif
mState(STATE_CHOOSE_SERVER),
mOldState(STATE_START),
mIcon(nullptr),
@@ -2978,7 +2980,7 @@ void Client::windowRemoved(const Window *const window)
inst->mCurrentDialog = nullptr;
}
-void Client::updateScreenKeyboard(int height A_UNUSED)
+void Client::updateScreenKeyboard(int height)
{
instance()->mKeyboardHeight = height;
}