From f13460299124901926f5089df89825b9c9e41f20 Mon Sep 17 00:00:00 2001 From: Peace-Maker Date: Wed, 17 Jul 2013 08:09:10 -0400 Subject: [PATCH] Fixed typo in too-many-params native error message (r=psychonic). --- core/smn_fakenatives.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/smn_fakenatives.cpp b/core/smn_fakenatives.cpp index f5c3c24c..d4643b3a 100644 --- a/core/smn_fakenatives.cpp +++ b/core/smn_fakenatives.cpp @@ -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 */