summaryrefslogtreecommitdiffstats
path: root/mbbsd/announce.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-03-10 01:29:36 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-03-10 01:29:36 +0800
commit90451291f8f509d0f0e3f1c442bb3325de30d9b0 (patch)
tree1d5737feb5cb95e231206b875c21d2d8f88607c6 /mbbsd/announce.c
parenta0baab6a9bbe6e76779927273f3faeba5b4d3990 (diff)
downloadpttbbs-90451291f8f509d0f0e3f1c442bb3325de30d9b0.tar
pttbbs-90451291f8f509d0f0e3f1c442bb3325de30d9b0.tar.gz
pttbbs-90451291f8f509d0f0e3f1c442bb3325de30d9b0.tar.bz2
pttbbs-90451291f8f509d0f0e3f1c442bb3325de30d9b0.tar.lz
pttbbs-90451291f8f509d0f0e3f1c442bb3325de30d9b0.tar.xz
pttbbs-90451291f8f509d0f0e3f1c442bb3325de30d9b0.tar.zst
pttbbs-90451291f8f509d0f0e3f1c442bb3325de30d9b0.zip
boards/<hash>/<brdname>
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@15 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/announce.c')
-rw-r--r--mbbsd/announce.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mbbsd/announce.c b/mbbsd/announce.c
index 960a45aa..0cbce01e 100644
--- a/mbbsd/announce.c
+++ b/mbbsd/announce.c
@@ -1,4 +1,4 @@
-/* $Id: announce.c,v 1.1 2002/03/07 15:13:48 in2 Exp $ */
+/* $Id: announce.c,v 1.2 2002/03/09 17:27:57 in2 Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -805,12 +805,12 @@ static void a_newitem(menu_t *pm, int mode) {
for(d = 0; d <= 3; d++) {
switch(d) {
case 0:
- sprintf(lpath, "%s%s%s/%s",
- BBSHOME, "/man/boards/",currboard , buf);
+ sprintf(lpath, BBSHOME "/man/boards/%c/%s/%s",
+ currboard[0], currboard, buf);
break;
case 1:
- sprintf(lpath, "%s%s%s",
- BBSHOME, "/man/boards/" , buf);
+ sprintf(lpath, "%s%s/%c/%s",
+ BBSHOME, "/man/boards/" , buf[0], buf);
break;
case 2:
sprintf(lpath, "%s%s%s",