Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jan 2011 22:26:03 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r217761 - user/nwhitehorn/bsdinstall/partedit
Message-ID:  <201101232226.p0NMQ3XY069308@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nwhitehorn
Date: Sun Jan 23 22:26:03 2011
New Revision: 217761
URL: http://svn.freebsd.org/changeset/base/217761

Log:
  Default to the default partition scheme.

Modified:
  user/nwhitehorn/bsdinstall/partedit/gpart_ops.c

Modified: user/nwhitehorn/bsdinstall/partedit/gpart_ops.c
==============================================================================
--- user/nwhitehorn/bsdinstall/partedit/gpart_ops.c	Sun Jan 23 19:36:28 2011	(r217760)
+++ user/nwhitehorn/bsdinstall/partedit/gpart_ops.c	Sun Jan 23 22:26:03 2011	(r217761)
@@ -61,9 +61,11 @@ gpart_partition(const char *lg_name, con
 
 schememenu:
 	if (scheme == NULL) {
+		dialog_vars.default_item = __DECONST(char *, default_scheme());
 		cancel = dlg_menu("Partition Scheme",
 		    "Select a partition scheme for this volume:", 0, 0, 0,
 		    sizeof(items) / sizeof(items[0]), items, &choice, NULL);
+		dialog_vars.default_item = NULL;
 
 		if (cancel)
 			return (-1);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101232226.p0NMQ3XY069308>