diff options
author | Tao Bao <tbao@google.com> | 2017-08-17 02:53:39 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-08-17 02:53:39 +0200 |
commit | fbd7429ca31cd2af706cfd052ead0df8e979770c (patch) | |
tree | d92577e9d93da0913262edc2fc89a0d823215e9c | |
parent | Import translations. DO NOT MERGE (diff) | |
parent | Merge "screen_ui: Fix a case that may truncate the last char." am: 2e99c38cfd am: 151126360e (diff) | |
download | android_bootable_recovery-fbd7429ca31cd2af706cfd052ead0df8e979770c.tar android_bootable_recovery-fbd7429ca31cd2af706cfd052ead0df8e979770c.tar.gz android_bootable_recovery-fbd7429ca31cd2af706cfd052ead0df8e979770c.tar.bz2 android_bootable_recovery-fbd7429ca31cd2af706cfd052ead0df8e979770c.tar.lz android_bootable_recovery-fbd7429ca31cd2af706cfd052ead0df8e979770c.tar.xz android_bootable_recovery-fbd7429ca31cd2af706cfd052ead0df8e979770c.tar.zst android_bootable_recovery-fbd7429ca31cd2af706cfd052ead0df8e979770c.zip |
-rw-r--r-- | screen_ui.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/screen_ui.cpp b/screen_ui.cpp index e056512bd..a02550199 100644 --- a/screen_ui.cpp +++ b/screen_ui.cpp @@ -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; |