diff options
Diffstat (limited to 'src/map/utils/formatutils.c')
-rw-r--r-- | src/map/utils/formatutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/utils/formatutils.c b/src/map/utils/formatutils.c index 741b2a9..c30af49 100644 --- a/src/map/utils/formatutils.c +++ b/src/map/utils/formatutils.c @@ -87,7 +87,7 @@ int format_sub(struct script_state* st, int translate) char *tmp = strstr(ptr, "@@"); if (!tmp) break; - char *item = script_getstr(st, idx); + const char *item = script_getstr(st, idx); int len = strlen(item); if (len > 50) break; |