summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-07-11 22:27:03 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-07-11 22:27:03 +0800
commit5c74ded7dc2bca3726e274bfb5172a9108204e45 (patch)
tree57079e1ec8bcfa9ff033c7a7af31dc26ee771863
parent61b719a52fd50c2a48d529a10d64494eaa6fb713 (diff)
downloadpttbbs-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.c2
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;