summaryrefslogtreecommitdiffstats
path: root/mbbsd/announce.c
diff options
context:
space:
mode:
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",