0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 04:42:18 +02:00

libobs/util: Save filename in config_create

Fixes a bug where config_save could not save the file due to the fact
that it did not store the path of the file as it was supposed to.
This commit is contained in:
jp9000 2015-10-03 21:53:03 -07:00
parent b3d6d9e49d
commit 05748195a8

View File

@ -70,6 +70,7 @@ config_t *config_create(const char *file)
fclose(f);
config = bzalloc(sizeof(struct config_data));
config->file = bstrdup(file);
return config;
}