diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-20 00:56:34 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-20 00:56:34 +0800 |
commit | 15c5c61f826858f81502122106a9ac9b14f95c07 (patch) | |
tree | 8738f5f4df1317e257e129c80b77d1088c0e90ec | |
parent | 9af2fcafb5c2b0743abf9a55ee2a8d1245933cb7 (diff) | |
download | pttbbs-15c5c61f826858f81502122106a9ac9b14f95c07.tar pttbbs-15c5c61f826858f81502122106a9ac9b14f95c07.tar.gz pttbbs-15c5c61f826858f81502122106a9ac9b14f95c07.tar.bz2 pttbbs-15c5c61f826858f81502122106a9ac9b14f95c07.tar.lz pttbbs-15c5c61f826858f81502122106a9ac9b14f95c07.tar.xz pttbbs-15c5c61f826858f81502122106a9ac9b14f95c07.tar.zst pttbbs-15c5c61f826858f81502122106a9ac9b14f95c07.zip |
- 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
-rw-r--r-- | mbbsd/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |