From 15c5c61f826858f81502122106a9ac9b14f95c07 Mon Sep 17 00:00:00 2001 From: piaip Date: Sat, 19 Apr 2008 16:56:34 +0000 Subject: - board_config/edit_title (Bb): only log if user really changed title. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4210 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mbbsd') diff --git a/mbbsd/board.c b/mbbsd/board.c index fe8af9ac..98d6669a 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -556,7 +556,7 @@ b_config(void) SOLVE_ANSI_CACHE(); outs("請輸入看板新中文敘述: "); vgetstr(genbuf, BTLEN-16, 0, bp->title + 7); - if (!genbuf[0]) + if (!genbuf[0] || strcmp(genbuf, bp->title+7) == 0) break; touched = 1; strip_ansi(genbuf, genbuf, STRIP_ALL); -- cgit v1.2.3