summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
authorjack <jack@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-11 07:58:11 +0800
committerjack <jack@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-11 07:58:11 +0800
commit1e8a1769ec4ce8fae7a35cd52108fd785e846970 (patch)
tree559910a387f3f7dfa8bccb9c101035c15f9281bd /mbbsd/bbs.c
parent038286463f9cb5b837c75777f985958778b271c4 (diff)
downloadpttbbs-1e8a1769ec4ce8fae7a35cd52108fd785e846970.tar
pttbbs-1e8a1769ec4ce8fae7a35cd52108fd785e846970.tar.gz
pttbbs-1e8a1769ec4ce8fae7a35cd52108fd785e846970.tar.bz2
pttbbs-1e8a1769ec4ce8fae7a35cd52108fd785e846970.tar.lz
pttbbs-1e8a1769ec4ce8fae7a35cd52108fd785e846970.tar.xz
pttbbs-1e8a1769ec4ce8fae7a35cd52108fd785e846970.tar.zst
pttbbs-1e8a1769ec4ce8fae7a35cd52108fd785e846970.zip
Replaced edit.c xyz.c with i18n version and fixed the bugs in bbs.c
git-svn-id: http://opensvn.csie.org/pttbbs/branches/Jaky.i18n@1941 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index f112a7c0..2f181e9b 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -551,7 +551,7 @@ do_general(int isbid)
move(21,0);
prints(SHM->i18nstr[cuser.language][310]);
for(i=0; i<8 ; i++)
- strlcpy(ctype[i], SHM->i18nstr[cuser.language][297 + i], 4);
+ strlcpy(ctype[i], SHM->i18nstr[cuser.language][297 + i], sizeof(ctype[0]));
for(i=0; i<8 && bp->posttype[i*4]; i++)
strncpy(ctype[i],bp->posttype+4*i,4);
if(i==0) i=8;