summaryrefslogtreecommitdiff
path: root/src
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 /src
parent8e685fe38388b6a0f7db7fe9d5705362ad35d9a4 (diff)
downloadevol-hercules-d6295cbcbdaa8b3f1f975601c31fe1e6a7df9e20.tar.gz
evol-hercules-d6295cbcbdaa8b3f1f975601c31fe1e6a7df9e20.tar.bz2
evol-hercules-d6295cbcbdaa8b3f1f975601c31fe1e6a7df9e20.tar.xz
evol-hercules-d6295cbcbdaa8b3f1f975601c31fe1e6a7df9e20.zip
Fix compilation after hercules update.s20180419
Diffstat (limited to 'src')
-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);