From 3f2ad5ccb0639f3348c602ef5e3a988bd129ad40 Mon Sep 17 00:00:00 2001 From: InstantMuffin Date: Thu, 5 Mar 2015 20:47:05 +0100 Subject: [PATCH 1/2] Documentation oddities for Call_PushStringEx See changes for details, should be obvious. What also strikes me as odd is that there is only one cpflag atm. Has this always been the case? Will there be more in the future? Or why is this designed to be a flagstring? --- plugins/include/functions.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/include/functions.inc b/plugins/include/functions.inc index ee45e5b7..98474228 100644 --- a/plugins/include/functions.inc +++ b/plugins/include/functions.inc @@ -318,10 +318,10 @@ native Call_PushString(const String:value[]); * @param value String to push. * @param length Length of string buffer. * @param szflags Flags determining how string should be handled. - * See SP_PARAM_STRING_* constants for details. - * The default (0) is to push ASCII. + * See SM_PARAM_STRING_* constants for details. + * The default (0) is to push UTF-8. * @param cpflags Whether or not changes should be copied back to the input array. - * See SP_PARAM_* constants for details. + * See SM_PARAM_* constants for details. * @noreturn * @error Called before a call has been started. */ From 98cbef547a67908737b0ac15f63a254a3a9b4b16 Mon Sep 17 00:00:00 2001 From: InstantMuffin Date: Thu, 5 Mar 2015 21:03:46 +0100 Subject: [PATCH 2/2] Update functions.inc --- plugins/include/functions.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/include/functions.inc b/plugins/include/functions.inc index 98474228..b31be263 100644 --- a/plugins/include/functions.inc +++ b/plugins/include/functions.inc @@ -319,7 +319,7 @@ native Call_PushString(const String:value[]); * @param length Length of string buffer. * @param szflags Flags determining how string should be handled. * See SM_PARAM_STRING_* constants for details. - * The default (0) is to push UTF-8. + * The default (0) is to push ASCII. * @param cpflags Whether or not changes should be copied back to the input array. * See SM_PARAM_* constants for details. * @noreturn