diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-09-01 09:01:54 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-09-01 09:01:54 +0000 |
commit | de180195823a91544c99c7ef0f7c12ad05d07a60 (patch) | |
tree | d20dca26da2d8ede4d19008bd9fcac9a80baea0f | |
parent | d90483d3d0d2c334fff01faa0d1ef4899fce700b (diff) | |
download | hercules-de180195823a91544c99c7ef0f7c12ad05d07a60.tar.gz hercules-de180195823a91544c99c7ef0f7c12ad05d07a60.tar.bz2 hercules-de180195823a91544c99c7ef0f7c12ad05d07a60.tar.xz hercules-de180195823a91544c99c7ef0f7c12ad05d07a60.zip |
Fixed one HORRIBLE typo in the last chat.c update (ARRAYSIZE -> ARRAYLENGTH)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11103 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | src/map/chat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/chat.c b/src/map/chat.c index 0a2b18d37..1a0730b51 100644 --- a/src/map/chat.c +++ b/src/map/chat.c @@ -32,7 +32,7 @@ static struct chat_data* chat_createchat(struct block_list* bl, const char* titl safestrncpy(cd->pass, pass, sizeof(cd->pass)); cd->pub = pub; cd->users = 0; - cd->limit = min(limit, ARRAYSIZE(cd->usersd)); + cd->limit = min(limit, ARRAYLENGTH(cd->usersd)); cd->trigger = trigger; memset(cd->usersd, 0, sizeof(cd->usersd)); cd->owner = bl; @@ -246,7 +246,7 @@ int chat_changechatstatus(struct map_session_data* sd, const char* title, const safestrncpy(cd->title, title, CHATROOM_TITLE_SIZE); safestrncpy(cd->pass, pass, CHATROOM_PASS_SIZE); - cd->limit = min(limit, ARRAYSIZE(cd->usersd)); + cd->limit = min(limit, ARRAYLENGTH(cd->usersd)); cd->pub = pub; clif_changechatstatus(cd); |