summaryrefslogtreecommitdiffstats
path: root/mbbsd/board.c
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-02-27 09:25:02 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-02-27 09:25:02 +0800
commit33da5f2c88e49d0ba8e7dadcb2695b3cf00a2306 (patch)
tree9008f8f0a52d617d35a5ab7aa66cdfc120e716bb /mbbsd/board.c
parentd6de54690cca57a65da741ee88a106f2bfddceba (diff)
downloadpttbbs-33da5f2c88e49d0ba8e7dadcb2695b3cf00a2306.tar
pttbbs-33da5f2c88e49d0ba8e7dadcb2695b3cf00a2306.tar.gz
pttbbs-33da5f2c88e49d0ba8e7dadcb2695b3cf00a2306.tar.bz2
pttbbs-33da5f2c88e49d0ba8e7dadcb2695b3cf00a2306.tar.lz
pttbbs-33da5f2c88e49d0ba8e7dadcb2695b3cf00a2306.tar.xz
pttbbs-33da5f2c88e49d0ba8e7dadcb2695b3cf00a2306.tar.zst
pttbbs-33da5f2c88e49d0ba8e7dadcb2695b3cf00a2306.zip
missing commit
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1568 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/board.c')
-rw-r--r--mbbsd/board.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index 149d5ccb..e26b6c74 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -1174,11 +1174,13 @@ choose_board(int newflag)
break;
case '2':
fav_save();
- setuserfile(fname, FAV4".bak");
+ setuserfile(fname, FAV4);
+ sprintf(genbuf, "%s.bak", fname);
Copy(fname, genbuf);
break;
case '3':
- setuserfile(fname, FAV4".bak");
+ setuserfile(fname, FAV4);
+ sprintf(genbuf, "%s.bak", fname);
if (!dashf(genbuf)){
vmsg("你沒有備份你的最愛喔");
break;