summaryrefslogtreecommitdiff
path: root/src/map/vending.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/vending.c')
-rw-r--r--src/map/vending.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/vending.c b/src/map/vending.c
index 687b2ca95..67e5ebf19 100644
--- a/src/map/vending.c
+++ b/src/map/vending.c
@@ -180,7 +180,7 @@ void vending_purchasereq(struct map_session_data* sd, int aid, int cid, const ui
if( battle_config.buyer_name )
{
char temp[256];
- snprintf(temp, sizeof temp, msg_txt(265), sd->status.name);
+ sprintf(temp, msg_txt(265), sd->status.name);
clif_disp_onlyself(vsd,temp,strlen(temp));
}
}