From eeb5987454f20c143e3a2f045bb564da3d9d531d Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sun, 24 Jan 2016 21:29:31 +0100 Subject: [PATCH] plugins: startPlugin works with filename; just for clarity Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/55f0ab75af840be3e0459e9f63cd50cfad3df6e9 Author: vanhofen Date: 2016-01-24 (Sun, 24 Jan 2016) Origin message was: ------------------ - plugins: startPlugin works with filename; just for clarity ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/plugins.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/plugins.cpp b/src/gui/plugins.cpp index 7aebc77f9..fd86c8e99 100644 --- a/src/gui/plugins.cpp +++ b/src/gui/plugins.cpp @@ -362,13 +362,13 @@ void CPlugins::startPlugin_by_name(const std::string & name) } } -void CPlugins::startPlugin(const char * const name) +void CPlugins::startPlugin(const char * const filename) { - int pluginnr = find_plugin(name); + int pluginnr = find_plugin(filename); if (pluginnr > -1) startPlugin(pluginnr); else - printf("[CPlugins] could not find %s\n", name); + printf("[CPlugins] could not find %s\n", filename); }