summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-04-17 21:21:45 +0300
committerAndrei Karas <akaras@inbox.ru>2018-04-17 21:21:45 +0300
commitd6295cbcbdaa8b3f1f975601c31fe1e6a7df9e20 (patch)
tree772b5d16c095fd1eb5a3b4065b3d63363fa6dfc7
parent8e685fe38388b6a0f7db7fe9d5705362ad35d9a4 (diff)
downloadplugin-d6295cbcbdaa8b3f1f975601c31fe1e6a7df9e20.tar.gz
plugin-d6295cbcbdaa8b3f1f975601c31fe1e6a7df9e20.tar.bz2
plugin-d6295cbcbdaa8b3f1f975601c31fe1e6a7df9e20.tar.xz
plugin-d6295cbcbdaa8b3f1f975601c31fe1e6a7df9e20.zip
Fix compilation after hercules update.s20180419
-rw-r--r--src/emap/utils/formatutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emap/utils/formatutils.c b/src/emap/utils/formatutils.c
index 83236c1..270bda7 100644
--- a/src/emap/utils/formatutils.c
+++ b/src/emap/utils/formatutils.c
@@ -134,7 +134,7 @@ int format_sub(struct script_state* st, int translate)
// modify the string directly in the stack, for use by script_sprintf
st->stack->stack_data[st->start + start].u.str = line;
- if (!script->sprintf(st, start, &pfbuf))
+ if (!script->sprintf_helper(st, start, &pfbuf))
{
StrBuf->Destroy(&pfbuf);
script_pushstr(st, line);