mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-10 22:05:06 +00:00
project: Apply formatting
This commit is contained in:
parent
40920204b5
commit
5ad1f173de
2 changed files with 6 additions and 5 deletions
|
@ -44,15 +44,16 @@ streamfx::configuration::~configuration()
|
|||
streamfx::configuration::configuration() : _data(), _config_path()
|
||||
{
|
||||
{ // Retrieve global configuration path.
|
||||
const char* path = obs_module_config_path("config.json");
|
||||
_config_path = path;
|
||||
const char* path = obs_module_config_path("config.json");
|
||||
_config_path = path;
|
||||
}
|
||||
|
||||
try {
|
||||
if (!std::filesystem::exists(_config_path) || !std::filesystem::is_regular_file(_config_path)) {
|
||||
throw std::exception();
|
||||
} else {
|
||||
obs_data_t* data = obs_data_create_from_json_file_safe(_config_path.string().c_str(), path_backup_ext.data());
|
||||
obs_data_t* data =
|
||||
obs_data_create_from_json_file_safe(_config_path.string().c_str(), path_backup_ext.data());
|
||||
if (!data) {
|
||||
throw std::exception();
|
||||
} else {
|
||||
|
|
|
@ -70,8 +70,8 @@ static const std::list<streamfx::ui::about::entry> _entries = {
|
|||
"https://facebook.com/nanitotv", text_social_facebook.data()},
|
||||
|
||||
// Separator
|
||||
streamfx::ui::about::entry{"", streamfx::ui::about::role_type::THANKYOU, "", streamfx::ui::about::link_type::NONE, "",
|
||||
"", streamfx::ui::about::link_type::NONE, "", ""},
|
||||
streamfx::ui::about::entry{"", streamfx::ui::about::role_type::THANKYOU, "", streamfx::ui::about::link_type::NONE,
|
||||
"", "", streamfx::ui::about::link_type::NONE, "", ""},
|
||||
|
||||
// Supporters
|
||||
streamfx::ui::about::entry{"GranDroidTonight", streamfx::ui::about::role_type::PATREON_SUPPORTER, "",
|
||||
|
|
Loading…
Reference in a new issue