diff options
author | Haru <haru@dotalux.com> | 2016-04-20 17:06:18 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-04-23 19:09:33 +0200 |
commit | d7ffa6adbcf4800821fe3f961513952450d06f98 (patch) | |
tree | f6565bf5ae7e0d2d46a42dc734c83b9adb7b6abe /src/map/vending.c | |
parent | e4feddf5198f1c9d45a6c34a95b251df773ab6db (diff) | |
download | hercules-d7ffa6adbcf4800821fe3f961513952450d06f98.tar.gz hercules-d7ffa6adbcf4800821fe3f961513952450d06f98.tar.bz2 hercules-d7ffa6adbcf4800821fe3f961513952450d06f98.tar.xz hercules-d7ffa6adbcf4800821fe3f961513952450d06f98.zip |
Removed the 'len' argument from clif_disp_onlyself() and clif->disp_message()
- The argument was redundant, since the passed value is always the same
as the passed string's length (it doesn't make sense otherwise). The
argument is implicit now. Less typing and less errors.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/vending.c')
-rw-r--r-- | src/map/vending.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/vending.c b/src/map/vending.c index d9001f6f5..e3a62bea7 100644 --- a/src/map/vending.c +++ b/src/map/vending.c @@ -199,7 +199,7 @@ void vending_purchasereq(struct map_session_data* sd, int aid, unsigned int uid, if( battle_config.buyer_name ) { char temp[256]; sprintf(temp, msg_sd(vsd,265), sd->status.name); - clif_disp_onlyself(vsd,temp,strlen(temp)); + clif_disp_onlyself(vsd, temp); } } |