From 7929b548cc8ea8d4ec1ba8668954b79708195ad9 Mon Sep 17 00:00:00 2001 From: Francesco Cosoleto Date: Fri, 12 Feb 2010 18:51:29 +0100 Subject: [PATCH] cfdisk: set '[New]' as default item on menu for non allocated space instead of '[Help]'. Signed-off-by: Francesco Cosoleto --- fdisk/cfdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.39.5