diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-07-11 22:27:03 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-07-11 22:27:03 +0800 |
commit | 5c74ded7dc2bca3726e274bfb5172a9108204e45 (patch) | |
tree | 57079e1ec8bcfa9ff033c7a7af31dc26ee771863 | |
parent | 61b719a52fd50c2a48d529a10d64494eaa6fb713 (diff) | |
download | pttbbs-5c74ded7dc2bca3726e274bfb5172a9108204e45.tar pttbbs-5c74ded7dc2bca3726e274bfb5172a9108204e45.tar.gz pttbbs-5c74ded7dc2bca3726e274bfb5172a9108204e45.tar.bz2 pttbbs-5c74ded7dc2bca3726e274bfb5172a9108204e45.tar.lz pttbbs-5c74ded7dc2bca3726e274bfb5172a9108204e45.tar.xz pttbbs-5c74ded7dc2bca3726e274bfb5172a9108204e45.tar.zst pttbbs-5c74ded7dc2bca3726e274bfb5172a9108204e45.zip |
allow empty title when merge dir
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2129 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/admin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c index 43c48995..b5386cbc 100644 --- a/mbbsd/admin.c +++ b/mbbsd/admin.c @@ -304,7 +304,7 @@ void merge_dir(char *dir1, char *dir2, int isoutter) Rename(dir1, bakdir); for(i=1; i<=pn+sn; i++ ) { - if(!fh[i-1].title[0] || !fh[i-1].filename[0]) continue; + if(!fh[i-1].filename[0]) continue; if(i == pn+sn || strcmp(fh[i-1].filename, fh[i].filename)) { fh[i-1].recommend =0; |