svn commit: r217761 - user/nwhitehorn/bsdinstall/partedit
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Sun Jan 23 22:26:03 UTC 2011
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);
More information about the svn-src-user
mailing list