Fixed one HORRIBLE typo in the last chat.c update (ARRAYSIZE -> ARRAYLENGTH)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11103 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
ultramage 2007-09-01 09:01:54 +00:00
parent e7e0ddde9d
commit 1dbdda4a4b

View File

@ -32,7 +32,7 @@ static struct chat_data* chat_createchat(struct block_list* bl, const char* titl
safestrncpy(cd->pass, pass, sizeof(cd->pass)); safestrncpy(cd->pass, pass, sizeof(cd->pass));
cd->pub = pub; cd->pub = pub;
cd->users = 0; cd->users = 0;
cd->limit = min(limit, ARRAYSIZE(cd->usersd)); cd->limit = min(limit, ARRAYLENGTH(cd->usersd));
cd->trigger = trigger; cd->trigger = trigger;
memset(cd->usersd, 0, sizeof(cd->usersd)); memset(cd->usersd, 0, sizeof(cd->usersd));
cd->owner = bl; 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->title, title, CHATROOM_TITLE_SIZE);
safestrncpy(cd->pass, pass, CHATROOM_PASS_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; cd->pub = pub;
clif_changechatstatus(cd); clif_changechatstatus(cd);