summaryrefslogtreecommitdiff
path: root/src/char/int_homun.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/char/int_homun.c')
-rw-r--r--src/char/int_homun.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/char/int_homun.c b/src/char/int_homun.c
index d36150c4d..d547b60f7 100644
--- a/src/char/int_homun.c
+++ b/src/char/int_homun.c
@@ -24,7 +24,7 @@ int inter_homun_tostr(char *str,struct s_homunculus *p)
{
int i;
- str+=snprintf(str, sizeof str, "%d,%d\t%s\t%d,%d,%d,%d,%d,"
+ str+=sprintf(str,"%d,%d\t%s\t%d,%d,%d,%d,%d,"
"%u,%d,%d,%d,"
"%u,%d,%d,"
"%d,%d,%d,%d,%d,%d\t",
@@ -37,7 +37,7 @@ int inter_homun_tostr(char *str,struct s_homunculus *p)
for (i = 0; i < MAX_HOMUNSKILL; i++)
{
if (p->hskill[i].id && !p->hskill[i].flag)
- str+=snprintf(str, sizeof str, "%d,%d,", p->hskill[i].id, p->hskill[i].lv);
+ str+=sprintf(str,"%d,%d,", p->hskill[i].id, p->hskill[i].lv);
}
return 0;