fix yes/no issue where the index is 0 and not 7

This commit is contained in:
Arif Ali 2012-01-13 14:16:03 +00:00
parent 1cb1ce343b
commit 7a1c31d8ab

View File

@ -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;
}
}