diff options
Diffstat (limited to 'screen_ui.cpp')
-rw-r--r-- | screen_ui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/screen_ui.cpp b/screen_ui.cpp index 3c0bbaf..9ddf482 100644 --- a/screen_ui.cpp +++ b/screen_ui.cpp @@ -398,7 +398,7 @@ void ScreenRecoveryUI::draw_screen_locked() { if (show_text) { if (currentIcon == ERASING || currentIcon == INSTALLING_UPDATE || currentIcon == VIEWING_LOG) { - size_t y = currentIcon == INSTALLING_UPDATE ? gr_fb_height() / 4 : header_height_ + 4; + size_t y = currentIcon == INSTALLING_UPDATE ? 3 * gr_fb_height() / 4 : header_height_ + 4; SetColor(LOG); int cx, cy; @@ -407,7 +407,7 @@ void ScreenRecoveryUI::draw_screen_locked() { // display from the bottom up, until we hit the top of the // screen or we've displayed the entire text buffer. size_t ty, count; - int row = (text_first_row_ + log_text_rows_ - 1) % log_text_rows_; + int row = (text_row_ + log_text_rows_ - 1) % log_text_rows_; for (ty = gr_fb_height() - cy, count = 0; ty > y + 2 && count < log_text_rows_; ty -= (cy + 2), ++count) { |