summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorlwms <lwms@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-30 23:53:28 +0800
committerlwms <lwms@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-30 23:53:28 +0800
commit0b4adadc64ac880228dc899d1e2131626c7579c6 (patch)
treeed88b1e591a4f5f40eb7e13224e403b9955f6951 /mbbsd
parent4802eb60afd797bde91ada6617771fb506856a38 (diff)
downloadpttbbs-0b4adadc64ac880228dc899d1e2131626c7579c6.tar
pttbbs-0b4adadc64ac880228dc899d1e2131626c7579c6.tar.gz
pttbbs-0b4adadc64ac880228dc899d1e2131626c7579c6.tar.bz2
pttbbs-0b4adadc64ac880228dc899d1e2131626c7579c6.tar.lz
pttbbs-0b4adadc64ac880228dc899d1e2131626c7579c6.tar.xz
pttbbs-0b4adadc64ac880228dc899d1e2131626c7579c6.tar.zst
pttbbs-0b4adadc64ac880228dc899d1e2131626c7579c6.zip
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@251 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/talk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index d31299ec..2ba53be4 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -1,4 +1,4 @@
-/* $Id: talk.c,v 1.48 2002/05/30 15:49:11 lwms Exp $ */
+/* $Id: talk.c,v 1.49 2002/05/30 15:53:28 lwms Exp $ */
#include <stdio.h>
#include <string.h>
#include <errno.h>
@@ -2106,7 +2106,7 @@ static void userlist(void)
}
getdata(b_lines - 1, 0, "你現在的心情 0:無 q不變 [q]:",
genbuf, 3, LCECHO);
- if( genbuf[0] && genbuf[0] != 'q' && atoi(genbuf) > 0)
+ if( genbuf[0] && genbuf[0] != 'q' && atoi(genbuf) >= 0)
currutmp->mind = atoi(genbuf) % i;
break;