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 d43f5a01bf
commit 4e50004a0e

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