Fix segfault.

This commit is contained in:
Alcaro 2014-10-06 20:04:02 +02:00
parent 51cfb3f886
commit 48b8c74968

View File

@ -2139,7 +2139,7 @@ static bool data_list_append(rarch_setting_t **list,
return false;
}
*list[list_info->index++] = value;
(*list)[list_info->index++] = value;
return true;
}