diff options
-rw-r--r-- | pttbbs/mbbsd/bbs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c index 5dc8476f..b3948234 100644 --- a/pttbbs/mbbsd/bbs.c +++ b/pttbbs/mbbsd/bbs.c @@ -623,7 +623,8 @@ static void readdoent(int num, fileheader_t * ent) { int type = ' ', title_type = SUBJECT_NORMAL; - const char *title, xtitle[STRLEN]; + const char *title; + char xtitle[STRLEN]; char *mark, color, special = 0, isonline = 0, recom[8]; char *typeattr = ""; char isunread = 0, oisunread = 0; |