From d7ffa6adbcf4800821fe3f961513952450d06f98 Mon Sep 17 00:00:00 2001 From: Haru Date: Wed, 20 Apr 2016 17:06:18 +0200 Subject: 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 --- src/map/intif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/intif.c') diff --git a/src/map/intif.c b/src/map/intif.c index 85270546e..0b2f34ce2 100644 --- a/src/map/intif.c +++ b/src/map/intif.c @@ -1656,7 +1656,7 @@ void intif_parse_MailInboxReceived(int fd) { else if( battle_config.mail_show_status && ( battle_config.mail_show_status == 1 || sd->mail.inbox.unread ) ) { char output[128]; sprintf(output, msg_sd(sd,510), sd->mail.inbox.unchecked, sd->mail.inbox.unread + sd->mail.inbox.unchecked); - clif_disp_onlyself(sd, output, strlen(output)); + clif_disp_onlyself(sd, output); } } /*------------------------------------------ -- cgit v1.2.3-60-g2f50