aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhpa <hpa>2005-08-30 22:56:46 +0000
committerhpa <hpa>2005-08-30 22:56:46 +0000
commit35438521ae719c50856285e40833b411c38d1b9a (patch)
tree1fe2cd1869ddd70a73fe49dbc8e738ad2ebef7c4
parent659607438046d7899e59e5abea995e1b7d63c048 (diff)
downloadsyslinux-35438521ae719c50856285e40833b411c38d1b9a.tar.gz
syslinux-35438521ae719c50856285e40833b411c38d1b9a.tar.xz
syslinux-35438521ae719c50856285e40833b411c38d1b9a.zip
-rw-r--r--com32/modules/menu.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/com32/modules/menu.c b/com32/modules/menu.c
index eee81f56..9f34061e 100644
--- a/com32/modules/menu.c
+++ b/com32/modules/menu.c
@@ -614,7 +614,8 @@ run_menu(void)
if ( key != KEY_NONE ) {
timeout_left = key_timeout;
- clear = to_clear;
+ if ( to_clear )
+ printf("\033[%d;1H%s\033[K", TIMEOUT_ROW, menu_attrib->screen);
}
switch ( key ) {
@@ -712,11 +713,6 @@ run_menu(void)
key_timeout = 0; /* Cancels timeout */
draw_row(entry-top+4, -1, top, 0, 0);
- if ( to_clear ) {
- /* Erase timeout message */
- printf("\033[%d;1H%s\033[K", TIMEOUT_ROW, menu_attrib->screen);
- }
-
if ( menu_master_passwd ) {
ok = ask_passwd(NULL);
clear_screen();