From: Francesco Cosoleto Date: Fri, 12 Feb 2010 17:51:29 +0000 (+0100) Subject: cfdisk: set '[New]' as default item on menu for non allocated space instead of '... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d11be31b384024e1c73d318c2e406531fcc49f18;p=util-linux cfdisk: set '[New]' as default item on menu for non allocated space instead of '[Help]'. Signed-off-by: Francesco Cosoleto --- diff --git a/fdisk/cfdisk.c b/fdisk/cfdisk.c index a3a14d8a..4fb41529 100644 --- a/fdisk/cfdisk.c +++ b/fdisk/cfdisk.c @@ -2785,7 +2785,7 @@ do_curses_fdisk(void) { if (p_info[cur_part].id == FREE_SPACE) { s = ((opentype == O_RDWR) ? "hnpquW" : "hnpqu"); command = menuSelect(COMMAND_LINE_Y, COMMAND_LINE_X, menuMain, 10, - s, MENU_HORIZ | MENU_BUTTON | MENU_ACCEPT_OTHERS, 0); + s, MENU_HORIZ | MENU_BUTTON | MENU_ACCEPT_OTHERS, 5); } else if (p_info[cur_part].id > 0) { s = ((opentype == O_RDWR) ? "bdhmpqtuW" : "bdhmpqtu"); command = menuSelect(COMMAND_LINE_Y, COMMAND_LINE_X, menuMain, 10,