Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/utils/sysinst Make partition menu sit just below hea...



details:   https://anonhg.NetBSD.org/src/rev/e78c3db7b4fc
branches:  trunk
changeset: 552562:e78c3db7b4fc
user:      dsl <dsl%NetBSD.org@localhost>
date:      Sat Sep 27 10:39:35 2003 +0000

description:
Make partition menu sit just below header (regardless of header size).
Change flag for bootmenu default from 'b' to 'd'.

diffstat:

 distrib/utils/sysinst/mbr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 706fa4eeaf15 -r e78c3db7b4fc distrib/utils/sysinst/mbr.c
--- a/distrib/utils/sysinst/mbr.c       Sat Sep 27 10:38:05 2003 +0000
+++ b/distrib/utils/sysinst/mbr.c       Sat Sep 27 10:39:35 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mbr.c,v 1.52 2003/09/21 02:30:18 takemura Exp $ */
+/*     $NetBSD: mbr.c,v 1.53 2003/09/27 10:39:35 dsl Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -983,7 +983,7 @@
                    rstart, rend - rstart,
                    mbrp->mbrp_flag == MBR_FLAGS_ACTIVE ? 'a' : ' ',
 #ifdef BOOTSEL
-                   ombri->bootsec == mbri->sector + mbrp->mbrp_start ? 'b' :
+                   ombri->bootsec == mbri->sector + mbrp->mbrp_start ? 'd' :
 #endif
                        ' ',
                    mbri->sector + mbrp->mbrp_start == ombri->install &&
@@ -1143,7 +1143,7 @@
                return 1;
        }
 
-       mbr_menu = new_menu(NULL, NULL, 16, 0, 7, 15, 70,
+       mbr_menu = new_menu(NULL, NULL, 16, 0, -1, 15, 70,
                        MC_NOBOX | MC_SCROLL | MC_NOCLEAR,
                        set_mbr_header, set_mbr_label, NULL,
                        NULL, MSG_Partition_table_ok);



Home | Main Index | Thread Index | Old Index