(svn r24982) -Fix [FS#5465]: [Script] Crash when passing too many parameters

This commit is contained in:
rubidium
2013-02-08 20:34:27 +00:00
parent bb225ae39e
commit 4e61c1770d
13 changed files with 151 additions and 121 deletions

View File

@@ -132,9 +132,10 @@ private:
* instances, while writing in the same buffer.
* @param p The current position in the buffer.
* @param lastofp The last position valid in the buffer.
* @param param_count The number of parameters that are in the string.
* @return The new current position in the buffer.
*/
char *_GetEncodedText(char *p, char *lastofp);
char *_GetEncodedText(char *p, char *lastofp, int &param_count);
/**
* Set a parameter, where the value is the first item on the stack.