summaryrefslogtreecommitdiff
path: root/src/script/api/script_text.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/api/script_text.hpp')
-rw-r--r--src/script/api/script_text.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/script/api/script_text.hpp b/src/script/api/script_text.hpp
index 43a6037ef..6dd022bb7 100644
--- a/src/script/api/script_text.hpp
+++ b/src/script/api/script_text.hpp
@@ -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.