summaryrefslogtreecommitdiffstats
path: root/mbbsd/board.c
diff options
context:
space:
mode:
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;