From 4e50004a0e73aa5dfc9b7c941eb793b1166adad5 Mon Sep 17 00:00:00 2001 From: Arif Ali Date: Fri, 13 Jan 2012 14:16:03 +0000 Subject: [PATCH] fix yes/no issue where the index is 0 and not 7 --- extendedcommands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extendedcommands.c b/extendedcommands.c index 429b3aa..f10fd44 100644 --- a/extendedcommands.c +++ b/extendedcommands.c @@ -423,7 +423,7 @@ int confirm_selection(const char* title, const char* confirm) "No", NULL }; int chosen_item = get_menu_selection(confirm_headers, items, 0, 0); - return chosen_item == 7; + return chosen_item == 0; } }