plugin: Fix double plugin name in log line

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2018-11-08 11:16:33 +01:00
parent 844fcee0bd
commit 1aa42c58f0

View file

@ -36,7 +36,7 @@ std::list<std::function<void()>> finalizerFunctions;
MODULE_EXPORT bool obs_module_load(void) MODULE_EXPORT bool obs_module_load(void)
{ {
P_LOG_INFO("[" PLUGIN_NAME "] Loading Version %u.%u.%u (Build %u)", PROJECT_VERSION_MAJOR, PROJECT_VERSION_MINOR, P_LOG_INFO("Loading Version %u.%u.%u (Build %u)", PROJECT_VERSION_MAJOR, PROJECT_VERSION_MINOR,
PROJECT_VERSION_PATCH, PROJECT_VERSION_TWEAK); PROJECT_VERSION_PATCH, PROJECT_VERSION_TWEAK);
for (auto func : initializerFunctions) { for (auto func : initializerFunctions) {
func(); func();
@ -46,7 +46,7 @@ MODULE_EXPORT bool obs_module_load(void)
MODULE_EXPORT void obs_module_unload(void) MODULE_EXPORT void obs_module_unload(void)
{ {
P_LOG_INFO("[" PLUGIN_NAME "] Unloading Version %u.%u.%u (Build %u)", PROJECT_VERSION_MAJOR, PROJECT_VERSION_MINOR, P_LOG_INFO("Unloading Version %u.%u.%u (Build %u)", PROJECT_VERSION_MAJOR, PROJECT_VERSION_MINOR,
PROJECT_VERSION_PATCH, PROJECT_VERSION_TWEAK); PROJECT_VERSION_PATCH, PROJECT_VERSION_TWEAK);
for (auto func : finalizerFunctions) { for (auto func : finalizerFunctions) {
func(); func();