diff options
-rw-r--r-- | jouer.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -274,7 +274,11 @@ enum action_state_t dig_entry(const struct entry_t *entries, int cnt_entries, st case SDLK_RETURN: target = &entries[selection]; if (!target->children_cnt) { - enum action_state_t state = select_target(params, &target->action); + enum action_state_t state; + + update_list_entries(params->surfaces, params->positions, entries, cnt_entries, -1); + + state = select_target(params, &target->action); if (state == ACTION_PERFORMED) return ACTION_PERFORMED; |