Fix code formatting

develop
DoctorVanGogh 2015-10-26 02:37:44 +01:00
parent fb4d16f477
commit 4e0f426bba
1 changed files with 6 additions and 6 deletions

@ -280,14 +280,14 @@ bool Plugin::load(color_ostream &con)
return false; \
}
plugin_check_symbols("plugin_name", "name") // allow r3 plugins
plugin_check_symbols("plugin_version", "version") // allow r3 plugins
plugin_check_symbols("plugin_name", "name") // allow r3 plugins
plugin_check_symbols("plugin_version", "version") // allow r3 plugins
plugin_check_symbol("plugin_self")
plugin_check_symbol("plugin_init")
plugin_check_symbol("plugin_globals")
const char ** plug_name =(const char ** ) LookupPlugin(plug, "plugin_name");
if (!plug_name) // allow r3 plugin naming
plug_name = (const char ** )LookupPlugin(plug, "name");
if (!plug_name) // allow r3 plugin naming
plug_name = (const char ** )LookupPlugin(plug, "name");
if (name != *plug_name)
{
@ -296,8 +296,8 @@ bool Plugin::load(color_ostream &con)
return false;
}
const char ** plug_version =(const char ** ) LookupPlugin(plug, "plugin_version");
if (!plug_version) // allow r3 plugin version
plug_version =(const char ** ) LookupPlugin(plug, "version");
if (!plug_version) // allow r3 plugin version
plug_version =(const char ** ) LookupPlugin(plug, "version");
const char ** plug_git_desc_ptr = (const char**) LookupPlugin(plug, "plugin_git_description");
Plugin **plug_self = (Plugin**)LookupPlugin(plug, "plugin_self");