summaryrefslogtreecommitdiffstats
path: root/screen_ui.cpp
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2014-05-13 19:28:54 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2014-05-13 19:28:54 +0200
commit34ff5fe3f59abfb1984189ade32059cc47bf97e5 (patch)
tree5d7217ac31912f1a510fddc17048fd542e3897f2 /screen_ui.cpp
parentam 1c2cf1db: Merge "recovery: minui: add adf backend" (diff)
parentMerge "screen_ui: Initialize text buffer" (diff)
downloadandroid_bootable_recovery-34ff5fe3f59abfb1984189ade32059cc47bf97e5.tar
android_bootable_recovery-34ff5fe3f59abfb1984189ade32059cc47bf97e5.tar.gz
android_bootable_recovery-34ff5fe3f59abfb1984189ade32059cc47bf97e5.tar.bz2
android_bootable_recovery-34ff5fe3f59abfb1984189ade32059cc47bf97e5.tar.lz
android_bootable_recovery-34ff5fe3f59abfb1984189ade32059cc47bf97e5.tar.xz
android_bootable_recovery-34ff5fe3f59abfb1984189ade32059cc47bf97e5.tar.zst
android_bootable_recovery-34ff5fe3f59abfb1984189ade32059cc47bf97e5.zip
Diffstat (limited to 'screen_ui.cpp')
-rw-r--r--screen_ui.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/screen_ui.cpp b/screen_ui.cpp
index eddae116c..819e535d8 100644
--- a/screen_ui.cpp
+++ b/screen_ui.cpp
@@ -77,6 +77,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;
}