From fbd9d72496527397b993859382334a755e0a417c Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 1 Feb 2015 13:17:38 +0100 Subject: [PATCH] Another one --- settings_data.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/settings_data.c b/settings_data.c index 07baeb67da..2bae98634d 100644 --- a/settings_data.c +++ b/settings_data.c @@ -2827,10 +2827,8 @@ void setting_data_get_label(void *data, char *type_str, setting = (rarch_setting_t*)setting_data_find_setting(setting_data, driver.menu->menu_list->selection_buf->list[idx].label); - if (!setting) - return; - - setting_data_get_string_representation(setting, type_str, type_str_size); + if (setting) + setting_data_get_string_representation(setting, type_str, type_str_size); } #endif