aboutsummaryrefslogtreecommitdiffstats
path: root/screen_ui.cpp
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2014-05-13 17:38:15 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-05-13 17:38:15 +0000
commit8c7457a2c56d0fad2f59d017bcbdbcac72e419b3 (patch)
tree771d57f47a95338ea6717d792bf15cdb8a6e577d /screen_ui.cpp
parentf5d9f891524862ba560650bd545668dc22622cdb (diff)
parent48abd574cb1b7b0adbe1de36224fb974182aaa2d (diff)
downloadbootable_recovery-8c7457a2c56d0fad2f59d017bcbdbcac72e419b3.tar.gz
bootable_recovery-8c7457a2c56d0fad2f59d017bcbdbcac72e419b3.tar.bz2
bootable_recovery-8c7457a2c56d0fad2f59d017bcbdbcac72e419b3.zip
am 48abd574: am 34ff5fe3: am 74b90b30: Merge "screen_ui: Initialize text buffer"
* commit '48abd574cb1b7b0adbe1de36224fb974182aaa2d': screen_ui: Initialize text buffer
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 afe856c..d087af3 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;
}