summaryrefslogtreecommitdiff
path: root/src/map/intif.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-04-20 17:06:18 +0200
committerHaru <haru@dotalux.com>2016-04-23 19:09:33 +0200
commitd7ffa6adbcf4800821fe3f961513952450d06f98 (patch)
treef6565bf5ae7e0d2d46a42dc734c83b9adb7b6abe /src/map/intif.c
parente4feddf5198f1c9d45a6c34a95b251df773ab6db (diff)
downloadhercules-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/intif.c')
-rw-r--r--src/map/intif.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}
/*------------------------------------------