From e05aa5a56de8af3bd9bf7ce4d7dfa4bcd1b6abc9 Mon Sep 17 00:00:00 2001 From: victor Date: Mon, 12 Jan 2004 15:11:35 +0000 Subject: follow the prottype of lib, change GB_CONVERT to CONVERT git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1482 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/mbbsd.c | 8 ++++---- sample/pttbbs.conf | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index 8bdbaa1d..d2f4aa87 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -1347,10 +1347,10 @@ daemon_login(int argc, char *argv[], char *envp[]) /* It's better to do something before fork */ #ifdef CONVERT - big2gb_init(); - gb2big_init(); - big2uni_init(); - uni2big_init(); + big2gb_init(NULL); + gb2big_init(NULL); + big2uni_init(NULL); + uni2big_init(NULL); #endif #ifndef NO_FORK diff --git a/sample/pttbbs.conf b/sample/pttbbs.conf index 86de5cd8..8c3751f3 100644 --- a/sample/pttbbs.conf +++ b/sample/pttbbs.conf @@ -94,8 +94,8 @@ 須要加跑 shmctl timed 來提供時間 */ //#define OUTTA_TIMER -/* 若定義, 則開啟正體中文轉簡體中文的功能 */ -//#define GB_CONVERT +/* 若定義, 則開啟正體中文轉 簡體中文/UTF-8 的功能 */ +//#define CONVERT /* 若定義, 則啟動 bbs中連至 BLOG 的 interface 請參閱 pttbbs/blog/ */ -- cgit v1.2.3