0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-19 20:32:15 +02:00

fix minor bug in config file parser

This commit is contained in:
jp9000 2013-12-18 12:08:38 -07:00
parent 158f83dc96
commit 4da1c193dc

View File

@ -293,7 +293,7 @@ int config_save(config_t config)
for (j = 0; j < section->items.num; j++) {
struct config_item *item = darray_item(
sizeof(struct config_item),
&section->items, i);
&section->items, j);
dstr_cat(&str, item->name);
dstr_cat(&str, "=");