summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2014-05-13 19:38:15 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2014-05-13 19:38:15 +0200
commit8c7457a2c56d0fad2f59d017bcbdbcac72e419b3 (patch)
tree771d57f47a95338ea6717d792bf15cdb8a6e577d
parentAllow 0-byte files in full OTAs. (diff)
parentam 34ff5fe3: am 74b90b30: Merge "screen_ui: Initialize text buffer" (diff)
downloadandroid_bootable_recovery-8c7457a2c56d0fad2f59d017bcbdbcac72e419b3.tar
android_bootable_recovery-8c7457a2c56d0fad2f59d017bcbdbcac72e419b3.tar.gz
android_bootable_recovery-8c7457a2c56d0fad2f59d017bcbdbcac72e419b3.tar.bz2
android_bootable_recovery-8c7457a2c56d0fad2f59d017bcbdbcac72e419b3.tar.lz
android_bootable_recovery-8c7457a2c56d0fad2f59d017bcbdbcac72e419b3.tar.xz
android_bootable_recovery-8c7457a2c56d0fad2f59d017bcbdbcac72e419b3.tar.zst
android_bootable_recovery-8c7457a2c56d0fad2f59d017bcbdbcac72e419b3.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 afe856c37..d087af329 100644
--- a/screen_ui.cpp
+++ b/screen_ui.cpp
@@ -78,6 +78,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;
}