From d6295cbcbdaa8b3f1f975601c31fe1e6a7df9e20 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 17 Apr 2018 21:21:45 +0300 Subject: Fix compilation after hercules update. --- src/emap/utils/formatutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3-70-g09d2