diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-07-23 03:38:49 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-07-23 03:38:49 +0800 |
commit | 72adfeab84252eacf1ee1219b4d57f41a3ed1352 (patch) | |
tree | 02a1fa04a8efb11f8bdb0fe1d609df833c85f57b /mbbsd | |
parent | 0283b33c66acb173a2cb7bac19a79048c755cd41 (diff) | |
download | pttbbs-72adfeab84252eacf1ee1219b4d57f41a3ed1352.tar pttbbs-72adfeab84252eacf1ee1219b4d57f41a3ed1352.tar.gz pttbbs-72adfeab84252eacf1ee1219b4d57f41a3ed1352.tar.bz2 pttbbs-72adfeab84252eacf1ee1219b4d57f41a3ed1352.tar.lz pttbbs-72adfeab84252eacf1ee1219b4d57f41a3ed1352.tar.xz pttbbs-72adfeab84252eacf1ee1219b4d57f41a3ed1352.tar.zst pttbbs-72adfeab84252eacf1ee1219b4d57f41a3ed1352.zip |
- fix msg error
- make old compilers happy
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2945 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/bbs.c | 4 | ||||
-rw-r--r-- | mbbsd/friend.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 819f7455..442823d5 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -2587,12 +2587,12 @@ b_changerecommend(int ent, const fileheader_t * fhdr, const char *direct) "", #endif #ifndef OLDRECOMMEND - "噓文/", + "/噓文", #else "", #endif #ifdef AUTO_CP_LOG - "轉錄自動記錄" + "/轉錄自動記錄" #else "" #endif diff --git a/mbbsd/friend.c b/mbbsd/friend.c index 9d87ee8f..e88b0030 100644 --- a/mbbsd/friend.c +++ b/mbbsd/friend.c @@ -448,9 +448,9 @@ friend_edit(int type) fclose(fp); } } else if (type == BOARD_WATER) { + boardheader_t *bp = NULL; currbid = getbnum(currboard); - boardheader_t *bp = - getbcache(currbid); + bp = getbcache(currbid); bp->perm_reload = now; substitute_record(fn_board, bp, sizeof(boardheader_t), currbid); // log_usies("SetBoard", bp->brdname); |