From d11be31b384024e1c73d318c2e406531fcc49f18 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 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, -- 2.39.5