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=7929b548cc8ea8d4ec1ba8668954b79708195ad9;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 f871cc46..8de285b4 100644 --- a/fdisk/cfdisk.c +++ b/fdisk/cfdisk.c @@ -2627,7 +2627,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,