Fixed typo in too-many-params native error message (r=psychonic).

This commit is contained in:
Peace-Maker 2013-07-17 08:09:10 -04:00
parent b493532ee1
commit f134602991

View File

@ -50,7 +50,7 @@ cell_t FakeNativeRouter(IPluginContext *pContext, const cell_t *params, void *pD
/* Check if too many parameters were passed */
if (params[0] > SP_MAX_EXEC_PARAMS)
{
return pContext->ThrowNativeError("Called native with too many parameters (%d>%d)", params[9], SP_MAX_EXEC_PARAMS);
return pContext->ThrowNativeError("Called native with too many parameters (%d>%d)", params[0], SP_MAX_EXEC_PARAMS);
}
/* Check if the native is paused */