diff options
author | gumi <mekolat@users.noreply.github.com> | 2017-09-19 17:15:52 -0400 |
---|---|---|
committer | gumi <mekolat@users.noreply.github.com> | 2017-09-19 17:15:52 -0400 |
commit | 94b3f24afa5e77bf770fdf90cf446396165b82c6 (patch) | |
tree | 1a93306912e211208378db3903949ab3e8841100 /src/map/clif.c | |
parent | fbc66fa0982a9d7a4ae03377b2eb2b3cfa30c90c (diff) | |
download | hercules-94b3f24afa5e77bf770fdf90cf446396165b82c6.tar.gz hercules-94b3f24afa5e77bf770fdf90cf446396165b82c6.tar.bz2 hercules-94b3f24afa5e77bf770fdf90cf446396165b82c6.tar.xz hercules-94b3f24afa5e77bf770fdf90cf446396165b82c6.zip |
remove trailing whitespaces from source
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 3c93bae57..5454bed2d 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -2414,9 +2414,9 @@ void clif_addcards2(unsigned short *cards, struct item* item) { int clif_add_item_options(struct ItemOptions *buf, const struct item *it) { int i = 0, j = 0, total_options = 0; - + nullpo_ret(buf); - + // Append the buffer with existing options first. for (i = 0; i < MAX_ITEM_OPTIONS; i++) { if (it->option[i].index) { @@ -2433,7 +2433,7 @@ void clif_addcards2(unsigned short *cards, struct item* item) { WBUFW(buf, j * 5 + 2) = 0; WBUFB(buf, j * 5 + 4) = 0; } - + return total_options; } @@ -19346,7 +19346,7 @@ void clif_parse_rodex_checkname(int fd, struct map_session_data *sd) int char_id = 0, base_level = 0; short class = 0; char name[NAME_LENGTH]; - + safestrncpy(name, rPacket->Name, NAME_LENGTH); rodex->check_player(sd, name, &base_level, &char_id, &class); @@ -19549,7 +19549,7 @@ void clif_rodex_read_mail(struct map_session_data *sd, int8 opentype, struct rod nullpo_retv(sd); nullpo_retv(msg); - + fd = sd->fd; body_len = (int)strlen(msg->body) + 1; size = sizeof(*sPacket); @@ -19626,7 +19626,7 @@ void clif_parse_rodex_request_zeny(int fd, struct map_session_data *sd) __attrib void clif_parse_rodex_request_zeny(int fd, struct map_session_data *sd) { const struct PACKET_CZ_REQ_ZENY_FROM_MAIL *rPacket = RFIFOP(fd, 0); - + rodex->get_zeny(sd, rPacket->opentype, rPacket->MailID); } @@ -19667,7 +19667,7 @@ void clif_rodex_request_items(struct map_session_data *sd, int8 opentype, int64 nullpo_retv(sd); fd = sd->fd; - + WFIFOHEAD(fd, sizeof(*sPacket)); sPacket = WFIFOP(fd, 0); sPacket->PacketType = rodexgetitem; |