From 90451291f8f509d0f0e3f1c442bb3325de30d9b0 Mon Sep 17 00:00:00 2001 From: in2 Date: Sat, 9 Mar 2002 17:29:36 +0000 Subject: boards// git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@15 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/announce.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mbbsd/announce.c') 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 #include #include @@ -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", -- cgit v1.2.3