summaryrefslogtreecommitdiff
path: root/src/map/utils/formatutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/utils/formatutils.c')
-rw-r--r--src/map/utils/formatutils.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/utils/formatutils.c b/src/map/utils/formatutils.c
index 0d50c25..6777423 100644
--- a/src/map/utils/formatutils.c
+++ b/src/map/utils/formatutils.c
@@ -61,7 +61,7 @@ int format_sub(struct script_state* st, int translate)
{
if (translate == 2)
{
- char *str = NULL;
+ const char *str = NULL;
char *buf = NULL;
if (sd->status.sex)
{
@@ -77,7 +77,6 @@ int format_sub(struct script_state* st, int translate)
strcpy (buf, str);
strcat (buf, "#0");
}
- ShowWarning("going to translate: %s\n", buf);
strcpy(line, lang_pctrans(buf, sd));
aFree (buf);
idx = 4;