Merge "screen_ui: Fix a case that may truncate the last char." am: 2e99c38cfd

am: 151126360e

Change-Id: Id7117e58e1353ce3e9929908a4de0e8f6f8fe1d2
This commit is contained in:
Tao Bao
2017-08-17 00:44:08 +00:00
committed by android-build-merger

View File

@@ -344,7 +344,8 @@ void ScreenRecoveryUI::draw_screen_locked() {
y += DrawTextLines(x, y, HasThreeButtons() ? REGULAR_HELP : LONG_PRESS_HELP);
SetColor(HEADER);
y += DrawWrappedTextLines(x, y, menu_headers_);
// Ignore kMenuIndent, which is not taken into account by text_cols_.
y += DrawWrappedTextLines(kMarginWidth, y, menu_headers_);
SetColor(MENU);
y += DrawHorizontalRule(y) + 4;