| changeset 599 | 3a098eff4890 |
| parent 592 | c2a2c38f1331 |
| child 609 | caae8c3c1d0c |
1.1 --- a/core/sm_stringutil.cpp Sun Mar 11 21:09:05 2007 +0000 1.2 +++ b/core/sm_stringutil.cpp Mon Mar 12 00:06:20 2007 +0000 1.3 @@ -28,7 +28,7 @@ 1.4 1.5 #define CHECK_ARGS(x) \ 1.6 if ((arg+x) > args) { \ 1.7 - pCtx->ThrowNativeErrorEx(SP_ERROR_PARAMS_MAX, "String formatted incorrectly - parameter %d (total %d)", arg, args); \ 1.8 + pCtx->ThrowNativeErrorEx(SP_ERROR_PARAM, "String formatted incorrectly - parameter %d (total %d)", arg, args); \ 1.9 return 0; \ 1.10 } 1.11