summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-04-14 23:23:07 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-04-14 23:23:07 +0800
commitcc21260a3dcf96d779098e75a9f7206f670eb494 (patch)
treebec8ebbeb2ef5927aaaad69d573d95b3fa95e1bd
parent4d65af300be80eb3f4a99547d1dec8c59853d0c9 (diff)
downloadpttbbs-cc21260a3dcf96d779098e75a9f7206f670eb494.tar
pttbbs-cc21260a3dcf96d779098e75a9f7206f670eb494.tar.gz
pttbbs-cc21260a3dcf96d779098e75a9f7206f670eb494.tar.bz2
pttbbs-cc21260a3dcf96d779098e75a9f7206f670eb494.tar.lz
pttbbs-cc21260a3dcf96d779098e75a9f7206f670eb494.tar.xz
pttbbs-cc21260a3dcf96d779098e75a9f7206f670eb494.tar.zst
pttbbs-cc21260a3dcf96d779098e75a9f7206f670eb494.zip
fix ^D (tolower), and allow del in MODE_SELECT
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@792 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pttbbs/mbbsd/read.c b/pttbbs/mbbsd/read.c
index 68c253c2..fdf8183e 100644
--- a/pttbbs/mbbsd/read.c
+++ b/pttbbs/mbbsd/read.c
@@ -1,4 +1,4 @@
-/* $Id: read.c,v 1.20 2003/02/20 16:18:24 in2 Exp $ */
+/* $Id: read.c,v 1.21 2003/04/14 15:23:07 victor Exp $ */
#include "bbs.h"
static fileheader_t *headers = NULL;
@@ -167,7 +167,7 @@ TagPruner(int bid)
if (strcmp(bp->brdname, "Security") == 0)
return DONOTHING;
if (TagNum && ((currstat != READING) || (currmode & MODE_BOARD))) {
- if (getans("刪除所有標記[N]?") != 'y')
+ if (tolower(getans("刪除所有標記[N]?")) != 'y')
return FULLUPDATE;
delete_range(currdirect, 0, 0);
TagNum = 0;