瀏覽代碼

Typo

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9773 54d463be-8e91-2dee-dedb-b68131a5f0ec
ultramage 18 年之前
父節點
當前提交
250fdeee31
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/map/chat.c

+ 1 - 1
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;