From 38ac5c565c72463d14cbfc824f2cc84883504e6b Mon Sep 17 00:00:00 2001 From: piaip Date: Mon, 31 Mar 2008 18:47:40 +0000 Subject: - announce: align edit_title prompt better - Makefile refine git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4055 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/Makefile | 12 ++++++------ mbbsd/announce.c | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'mbbsd') diff --git a/mbbsd/Makefile b/mbbsd/Makefile index 7aa1b55b..36d04fc2 100644 --- a/mbbsd/Makefile +++ b/mbbsd/Makefile @@ -8,19 +8,19 @@ SRCROOT= .. ####################################################################### PROG= mbbsd -CHESSOBJS= chc.o chc_tab.o chess.o go.o gomo.o dark.o reversi.o -GAMEOBJS = card.o guess.o chicken.o othello.o COREOBJS = bbs.o announce.o read.o board.o cache.o cal.o brc.o mail.o record.o fav.o ACCOBJS = user.o register.o passwd.o -TALKOBJS = talk.o chat.o friend.o NETOBJS = mbbsd.o io.o term.o telnet.o +TALKOBJS = talk.o chat.o friend.o UTILOBJS = stuff.o kaede.o convert.o name.o syspost.o -PLUGOBJS = lovepaper.o calendar.o topsong.o gamble.o vice.o PAGEROBJS= more.o pmore.o +PLUGOBJS = lovepaper.o calendar.o topsong.o gamble.o vice.o +CHESSOBJS= chc.o chc_tab.o chess.o go.o gomo.o dark.o reversi.o +GAMEOBJS = card.o guess.o chicken.o othello.o OBJS= admin.o assess.o edit.o menu.o xyz.o var.o \ vote.o voteboard.o \ - $(COREOBJS) $(ACCOBJS) $(NETOBJS) $(TALKOBJS) $(UTILOBJS) \ - $(PAGEROBJS) $(SYSOBJS) $(PLUGOBJS) \ + $(COREOBJS) $(ACCOBJS) $(NETOBJS) $(TALKOBJS) $(UTILOBJS) \ + $(PAGEROBJS) $(PLUGOBJS) \ $(CHESSOBJS) $(GAMEOBJS) ####################################################################### diff --git a/mbbsd/announce.c b/mbbsd/announce.c index 29d51b14..6abae9bc 100644 --- a/mbbsd/announce.c +++ b/mbbsd/announce.c @@ -857,7 +857,7 @@ a_newtitle(const menu_t * pm) memcpy(&item, &pm->header[pm->now - pm->page], FHSZ); strlcpy(buf, item.title + 3, sizeof(buf)); - if (getdata_buf(b_lines - 1, 1, "新標題:", buf, 60, DOECHO)) { + if (getdata_buf(b_lines - 1, 0, " 新標題: ", buf, 60, DOECHO)) { strlcpy(item.title + 3, buf, sizeof(item.title) - 3); setadir(buf, pm->path); substitute_record(buf, &item, FHSZ, pm->now + 1); -- cgit v1.2.3