From 44dea3f9a93aeaedab7412fc32c26cfc570b7295 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Sat, 4 May 2013 13:52:21 +0200 Subject: [PATCH] * grub-core/normal/menu_text.c (menu_clear_timeout): Clear second line of timeout as it may contain the rest of long line. --- ChangeLog | 5 +++++ grub-core/normal/menu_text.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 16456f032..8d415176b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-05-04 Vladimir Serbinenko + + * grub-core/normal/menu_text.c (menu_clear_timeout): Clear second + line of timeout as it may contain the rest of long line. + 2013-05-04 Vladimir Serbinenko * grub-core/normal/main.c: Fix freed memory dereference. diff --git a/grub-core/normal/menu_text.c b/grub-core/normal/menu_text.c index 19a538930..d7e564158 100644 --- a/grub-core/normal/menu_text.c +++ b/grub-core/normal/menu_text.c @@ -460,6 +460,8 @@ menu_text_clear_timeout (void *dataptr) grub_term_gotoxy (data->term, 0, grub_term_height (data->term) - 3); grub_print_spaces (data->term, grub_term_width (data->term) - 1); + grub_term_gotoxy (data->term, 0, grub_term_height (data->term) - 2); + grub_print_spaces (data->term, grub_term_width (data->term) - 1); grub_term_gotoxy (data->term, grub_term_cursor_x (data->term), GRUB_TERM_FIRST_ENTRY_Y + data->offset); grub_term_refresh (data->term);