Commit d63fdef9 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Do not select candidates for ICE check lists that are not in the Completed state.

parent af0fea01
...@@ -833,6 +833,8 @@ static void ice_check_list_select_candidates(IceCheckList *cl) ...@@ -833,6 +833,8 @@ static void ice_check_list_select_candidates(IceCheckList *cl)
uint16_t componentID; uint16_t componentID;
MSList *elem; MSList *elem;
if (cl->state != ICL_Completed) return;
ms_list_for_each(cl->valid_list, (void (*)(void*))ice_unselect_valid_pair); ms_list_for_each(cl->valid_list, (void (*)(void*))ice_unselect_valid_pair);
for (componentID = 1; componentID <= 2; componentID++) { for (componentID = 1; componentID <= 2; componentID++) {
elem = ms_list_find_custom(cl->valid_list, (MSCompareFunc)ice_find_nominated_valid_pair_from_componentID, &componentID); elem = ms_list_find_custom(cl->valid_list, (MSCompareFunc)ice_find_nominated_valid_pair_from_componentID, &componentID);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment