summaryrefslogtreecommitdiffstats
path: root/screen_ui.cpp
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-08-20 10:16:07 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-08-20 10:16:07 +0200
commite059be5c67633485618133f970eb8801e724e760 (patch)
treecda87f400eb19777ceeefe34aa4c4b89acc905e9 /screen_ui.cpp
parentrelease-request-5c36fbeb-1180-4a77-94d2-968e28da8f1f-for-git_pi-release-4280901 snap-temp-L36900000094197597 (diff)
parentMerge "Move Image/ImageChunk/PatchChunk declaration into header files" am: b4bc57ed39 am: b127fddf09 am: f5e3cadeca am: fc569d1516 (diff)
downloadandroid_bootable_recovery-e059be5c67633485618133f970eb8801e724e760.tar
android_bootable_recovery-e059be5c67633485618133f970eb8801e724e760.tar.gz
android_bootable_recovery-e059be5c67633485618133f970eb8801e724e760.tar.bz2
android_bootable_recovery-e059be5c67633485618133f970eb8801e724e760.tar.lz
android_bootable_recovery-e059be5c67633485618133f970eb8801e724e760.tar.xz
android_bootable_recovery-e059be5c67633485618133f970eb8801e724e760.tar.zst
android_bootable_recovery-e059be5c67633485618133f970eb8801e724e760.zip
Diffstat (limited to 'screen_ui.cpp')
-rw-r--r--screen_ui.cpp3
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;