Separate error messages for plugin dll not found and plugin function not found
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6724 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
3542f0556c
commit
b3a96a5ff7
1 changed files with 2 additions and 2 deletions
|
@ -431,8 +431,8 @@ parse_again:
|
|||
#endif
|
||||
{
|
||||
#ifdef NSIS_CONFIG_PLUGIN_SUPPORT
|
||||
if (Plugins::IsPluginCallSyntax(tokstr0) && (!m_pPlugins || !m_pPlugins->IsKnownPlugin(tokstr0)))
|
||||
ERROR_MSG(_T("Plugin not found, cannot call %") NPRIs _T("\n"),tokstr0);
|
||||
if (Plugins::IsPluginCallSyntax(tokstr0))
|
||||
ERROR_MSG(_T("Plugin%") NPRIs _T(" not found, cannot call %") NPRIs _T("\n"),m_pPlugins && m_pPlugins->IsKnownPlugin(tokstr0) ? _T(" function") : _T(""),tokstr0);
|
||||
else
|
||||
#endif
|
||||
ERROR_MSG(_T("Invalid command: %") NPRIs _T("\n"),tokstr0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue