summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author(no author) <(no author)@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-08-21 15:53:20 +0800
committer(no author) <(no author)@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-08-21 15:53:20 +0800
commit49c0297f46aa58f2a093d1b4d7ae1cb965de1d90 (patch)
treebc04dfd9dfa4a6fa708d702360dc21b04a78d3aa
parent7c807974193788ab277d9175a475617baaca754f (diff)
downloadpttbbs-in2.newman.tar
pttbbs-in2.newman.tar.gz
pttbbs-in2.newman.tar.bz2
pttbbs-in2.newman.tar.lz
pttbbs-in2.newman.tar.xz
pttbbs-in2.newman.tar.zst
pttbbs-in2.newman.zip
fix bugin2.newman
git-svn-id: http://opensvn.csie.org/pttbbs/branches/in2.newman@1120 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/announce.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pttbbs/mbbsd/announce.c b/pttbbs/mbbsd/announce.c
index 81b97b7e..962b2ec6 100644
--- a/pttbbs/mbbsd/announce.c
+++ b/pttbbs/mbbsd/announce.c
@@ -264,6 +264,7 @@ a_newitem(menu_t * pm, int mode)
break;
} else if (dashd(lpath)) {
strlcpy(item.title, "กน ", sizeof(item.title)); /* A1B4 */
+ item.filemode |= FILE_ISDIR;
break;
}
if (!HAS_PERM(PERM_BBSADM) && d == 1)