More small fixes

This commit is contained in:
Gilbert Clark 2014-11-24 16:35:26 -05:00
parent 616ed22572
commit cda7c93704
2 changed files with 5 additions and 5 deletions

View file

@ -583,10 +583,10 @@ std::pair<Val*, bool> Manager::HookCallFunction(const Func* func, Frame* parent,
v = p->HookCallFunction(func, parent, vargs); v = p->HookCallFunction(func, parent, vargs);
if ( v.second ) if ( v.second )
{ {
break; break;
} }
} }
if ( HavePluginForHook(META_HOOK_POST) ) if ( HavePluginForHook(META_HOOK_POST) )
MetaHookPost(HOOK_CALL_FUNCTION, args, HookArgument(v)); MetaHookPost(HOOK_CALL_FUNCTION, args, HookArgument(v));

View file

@ -293,7 +293,7 @@ int Plugin::HookLoadFile(const std::string& file, const std::string& ext)
std::pair<Val*, bool> Plugin::HookCallFunction(const Func* func, Frame *parent, val_list* args) std::pair<Val*, bool> Plugin::HookCallFunction(const Func* func, Frame *parent, val_list* args)
{ {
std::pair<Val*, bool> result(NULL, false); std::pair<Val*, bool> result(NULL, false);
return result; return result;
} }