From 0a0a96c37fe8ac997cabefecb162eae89da7e889 Mon Sep 17 00:00:00 2001 From: dsl Date: Sat, 22 Oct 2005 09:31:50 +0000 Subject: [PATCH] Don't redisplay the title messages before displaying sub-menus during set selection (eg selecting the X sets). libcurses got changed earlier in the year so that the erase (and refresh) of the message window caused all the unchanged spaces to be redrawn overwriting most of the main set selection window. --- distrib/utils/sysinst/util.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/distrib/utils/sysinst/util.c b/distrib/utils/sysinst/util.c index d0b186c605c9..e234a47f4900 100644 --- a/distrib/utils/sysinst/util.c +++ b/distrib/utils/sysinst/util.c @@ -1,4 +1,4 @@ -/* $NetBSD: util.c,v 1.136 2005/04/18 23:36:03 lukem Exp $ */ +/* $NetBSD: util.c,v 1.137 2005/10/22 09:31:50 dsl Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -472,9 +472,6 @@ set_selected_sets(menudesc *menu, void *arg) none = msg_string(MSG_None); } - msg_display(MSG_cur_distsets); - msg_table_add(MSG_cur_distsets_header); - m = menu->opts; for (list = menu_info->dist; list->desc; list++) { if (!(menu_info->sets & list->set)) @@ -605,6 +602,9 @@ customise_sets(void) if (menu_no == -1) return; + msg_display(MSG_cur_distsets); + msg_table_add(MSG_cur_distsets_header); + set_menu_info.dist = dist_list; set_menu_info.sets = ~0u; process_menu(menu_no, &set_menu_info);