commit | 74b90b309f67dc3b8bb74e47c4eddf7ce511bc35 | [log] [tgz] |
---|---|---|
author | Doug Zongker <dougz@android.com> | Tue May 13 17:25:51 2014 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue May 13 17:25:52 2014 +0000 |
tree | e72e442e6a5ac7fdb04c4669418c113adcab265c | |
parent | 1c2cf1db0db2c9e9310d27bdc19c605f5537b72f [diff] | |
parent | 80a7a4642be31db7ecd5eaa9e62b78deaa461146 [diff] |
Merge "screen_ui: Initialize text buffer"
diff --git a/screen_ui.cpp b/screen_ui.cpp index 656f724..7826693 100644 --- a/screen_ui.cpp +++ b/screen_ui.cpp
@@ -75,6 +75,8 @@ for (int i = 0; i < 5; i++) backgroundIcon[i] = NULL; + memset(text, 0, sizeof(text)); + pthread_mutex_init(&updateMutex, NULL); self = this; }