diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-06-05 16:44:10 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-06-05 16:44:10 +0800 |
commit | c5ed409d13de8855a384e32b4184877bf5351a6d (patch) | |
tree | 7ed5678118c3d093b50e1692a014aa5e2f25e461 /mbbsd/fav.c | |
parent | d2a28e0fdb31e76baf61157e6679fc358c482b7a (diff) | |
download | pttbbs-c5ed409d13de8855a384e32b4184877bf5351a6d.tar pttbbs-c5ed409d13de8855a384e32b4184877bf5351a6d.tar.gz pttbbs-c5ed409d13de8855a384e32b4184877bf5351a6d.tar.bz2 pttbbs-c5ed409d13de8855a384e32b4184877bf5351a6d.tar.lz pttbbs-c5ed409d13de8855a384e32b4184877bf5351a6d.tar.xz pttbbs-c5ed409d13de8855a384e32b4184877bf5351a6d.tar.zst pttbbs-c5ed409d13de8855a384e32b4184877bf5351a6d.zip |
convert .fav4.bak
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3366 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/fav.c')
-rw-r--r-- | mbbsd/fav.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mbbsd/fav.c b/mbbsd/fav.c index b8c09d93..b93c90e1 100644 --- a/mbbsd/fav.c +++ b/mbbsd/fav.c @@ -499,6 +499,10 @@ int fav_load(void) fav4_read_favrec(frp, fp); fav_stack_push_fav(fp); fclose(frp); + + fav_save(); + setuserfile(old, FAV ".bak"); + Copy(buf, old); } else #endif |