diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-02 06:37:16 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-02 06:37:16 +0000 |
commit | 4baefa57dd67b83036c0034ae03bc050ff577384 (patch) | |
tree | 3c4d320568e71d0b86185dbdaaa755bf61ae54d0 /src/map/chat.c | |
parent | b57f249609212b256244a5be2d7223806f3008da (diff) | |
download | hercules-4baefa57dd67b83036c0034ae03bc050ff577384.tar.gz hercules-4baefa57dd67b83036c0034ae03bc050ff577384.tar.bz2 hercules-4baefa57dd67b83036c0034ae03bc050ff577384.tar.xz hercules-4baefa57dd67b83036c0034ae03bc050ff577384.zip |
Typo
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9773 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/chat.c')
-rw-r--r-- | src/map/chat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/chat.c b/src/map/chat.c index 0bc95ca9c..eb77fdd89 100644 --- a/src/map/chat.c +++ b/src/map/chat.c @@ -42,7 +42,7 @@ int chat_createchat(struct map_session_data* sd,int limit, int pub, char* pass, titlelen = cap_value(titlelen, 0, sizeof(cd->title)-1); // empty string achievable by using custom client // the following two input strings aren't zero terminated, have to handle it manually memcpy(cd->pass, pass, 8); cd->pass[8]= '\0'; - memcpy(cd->title, title, titlelen); cd->title[titlelen] = '\0'; + memcpy(cd->title, title, titlelen); cd->title[titlelen] = '\0'; cd->owner = (struct block_list **)(&cd->usersd[0]); cd->usersd[0] = sd; |