From 4788c813c654c522d336dd9fb1229c1cbdd2d7de Mon Sep 17 00:00:00 2001 From: Haru Date: Thu, 21 Apr 2016 20:38:18 +0200 Subject: Removed the 'len' argument from various message-related functions - 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. - Affected functions: `clif->bg_message()`, `bg->send_message()`, `party->send_message()`, `guild->send_message()`. Signed-off-by: Haru Signed-off-by: Haru --- src/map/guild.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/guild.h') diff --git a/src/map/guild.h b/src/map/guild.h index 1f3b74543..4fe7106d3 100644 --- a/src/map/guild.h +++ b/src/map/guild.h @@ -135,7 +135,7 @@ struct guild_interface { int (*notice_changed) (int guild_id,const char *mes1,const char *mes2); int (*change_emblem) (struct map_session_data *sd,int len,const char *data); int (*emblem_changed) (int len,int guild_id,int emblem_id,const char *data); - int (*send_message) (struct map_session_data *sd,const char *mes,int len); + int (*send_message) (struct map_session_data *sd, const char *mes); int (*recv_message) (int guild_id,int account_id,const char *mes,int len); int (*send_dot_remove) (struct map_session_data *sd); int (*skillupack) (int guild_id,uint16 skill_id,int account_id); -- cgit v1.2.3-60-g2f50