From aea26921bba887c188366004c6919370ba8991cd Mon Sep 17 00:00:00 2001 From: piaip Date: Tue, 7 Jun 2005 18:22:28 +0000 Subject: user customization: should be case insensitive git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2792 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mbbsd') diff --git a/mbbsd/user.c b/mbbsd/user.c index 9cd8a3fb..d8816c6e 100644 --- a/mbbsd/user.c +++ b/mbbsd/user.c @@ -310,7 +310,7 @@ void Customize(void) #endif key = getkey("½Ð«ö [A-%c] ¤Á´«³]©w¡A«ö [Return] µ²§ô¡G", maxc); - switch (key) { + switch (tolower(key)) { case 'a':{ int currentset = cuser.uflag2 & WATER_MASK; currentset = (currentset + 1) % 3; -- cgit v1.2.3