Merge "Fix rare crash seen when dereferencing backgroundIcon[NONE]."
This commit is contained in:
commit
9fb676aa92
1 changed files with 1 additions and 0 deletions
|
@ -376,6 +376,7 @@ void ScreenRecoveryUI::Init()
|
|||
text_cols = gr_fb_width() / char_width;
|
||||
if (text_cols > kMaxCols - 1) text_cols = kMaxCols - 1;
|
||||
|
||||
backgroundIcon[NONE] = NULL;
|
||||
LoadBitmap("icon_installing", &backgroundIcon[INSTALLING_UPDATE]);
|
||||
backgroundIcon[ERASING] = backgroundIcon[INSTALLING_UPDATE];
|
||||
LoadBitmap("icon_error", &backgroundIcon[ERROR]);
|
||||
|
|
Loading…
Reference in a new issue