summaryrefslogtreecommitdiffstats
path: root/ui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui.cpp')
-rw-r--r--ui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui.cpp b/ui.cpp
index 98442539b..c8f08cdd1 100644
--- a/ui.cpp
+++ b/ui.cpp
@@ -56,6 +56,7 @@ RecoveryUI::RecoveryUI() :
pthread_mutex_init(&key_queue_mutex, NULL);
pthread_cond_init(&key_queue_cond, NULL);
self = this;
+ memset(key_pressed, 0, sizeof(key_pressed));
}
void RecoveryUI::Init() {