From 5ad1f173de037780a2ca4adcea165e1df4b8a32d Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Sun, 31 May 2020 16:44:32 +0200 Subject: [PATCH] project: Apply formatting --- source/configuration.cpp | 7 ++++--- source/ui/ui-about.cpp | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/source/configuration.cpp b/source/configuration.cpp index e849182c..e62aefcf 100644 --- a/source/configuration.cpp +++ b/source/configuration.cpp @@ -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 { diff --git a/source/ui/ui-about.cpp b/source/ui/ui-about.cpp index 679d6619..927ff340 100644 --- a/source/ui/ui-about.cpp +++ b/source/ui/ui-about.cpp @@ -70,8 +70,8 @@ static const std::list _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, "",