summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2014-05-13 19:25:51 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-05-13 19:25:52 +0200
commit74b90b309f67dc3b8bb74e47c4eddf7ce511bc35 (patch)
treee72e442e6a5ac7fdb04c4669418c113adcab265c
parentMerge "recovery: minui: add adf backend" (diff)
parentscreen_ui: Initialize text buffer (diff)
downloadandroid_bootable_recovery-74b90b309f67dc3b8bb74e47c4eddf7ce511bc35.tar
android_bootable_recovery-74b90b309f67dc3b8bb74e47c4eddf7ce511bc35.tar.gz
android_bootable_recovery-74b90b309f67dc3b8bb74e47c4eddf7ce511bc35.tar.bz2
android_bootable_recovery-74b90b309f67dc3b8bb74e47c4eddf7ce511bc35.tar.lz
android_bootable_recovery-74b90b309f67dc3b8bb74e47c4eddf7ce511bc35.tar.xz
android_bootable_recovery-74b90b309f67dc3b8bb74e47c4eddf7ce511bc35.tar.zst
android_bootable_recovery-74b90b309f67dc3b8bb74e47c4eddf7ce511bc35.zip
-rw-r--r--screen_ui.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/screen_ui.cpp b/screen_ui.cpp
index 656f72445..7826693b2 100644
--- a/screen_ui.cpp
+++ b/screen_ui.cpp
@@ -75,6 +75,8 @@ ScreenRecoveryUI::ScreenRecoveryUI() :
for (int i = 0; i < 5; i++)
backgroundIcon[i] = NULL;
+ memset(text, 0, sizeof(text));
+
pthread_mutex_init(&updateMutex, NULL);
self = this;
}