used a better error number
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40605
This commit is contained in:
parent
f64945b2aa
commit
2aa8810021
@ -28,7 +28,7 @@
|
||||
|
||||
#define CHECK_ARGS(x) \
|
||||
if ((arg+x) > args) { \
|
||||
pCtx->ThrowNativeErrorEx(SP_ERROR_PARAMS_MAX, "String formatted incorrectly - parameter %d (total %d)", arg, args); \
|
||||
pCtx->ThrowNativeErrorEx(SP_ERROR_PARAM, "String formatted incorrectly - parameter %d (total %d)", arg, args); \
|
||||
return 0; \
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user