summaryrefslogtreecommitdiffstats
path: root/mbbsd/user.c
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-01-21 01:29:09 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-01-21 01:29:09 +0800
commit853dedc529d17b8aaab3433040737ac5b60e9440 (patch)
treea3160f7d7790decf75caec1b5063ef1925891aaa /mbbsd/user.c
parent089818825c9caef18259a4a0b075d06dcf1c56a4 (diff)
downloadpttbbs-853dedc529d17b8aaab3433040737ac5b60e9440.tar
pttbbs-853dedc529d17b8aaab3433040737ac5b60e9440.tar.gz
pttbbs-853dedc529d17b8aaab3433040737ac5b60e9440.tar.bz2
pttbbs-853dedc529d17b8aaab3433040737ac5b60e9440.tar.lz
pttbbs-853dedc529d17b8aaab3433040737ac5b60e9440.tar.xz
pttbbs-853dedc529d17b8aaab3433040737ac5b60e9440.tar.zst
pttbbs-853dedc529d17b8aaab3433040737ac5b60e9440.zip
Chess country plan display error.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2417 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r--mbbsd/user.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index c4e58af6..721bcfd2 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -775,12 +775,12 @@ showplans(char *uid)
i++;
}
- if (user_query_mode == 0) {
- win = currutmp->five_win;
- lost = currutmp->five_lose;
- } else if(user_query_mode == 1) {
- win = currutmp->chc_win;
- lost = currutmp->chc_lose;
+ if (user_query_mode == 1) {
+ win = xuser.five_win;
+ lost = xuser.five_lose;
+ } else if(user_query_mode == 2) {
+ win = xuser.chc_win;
+ lost = xuser.chc_lose;
}
prints("%s <Á`¦@¾ÔÁZ> %d ³Ó %d ±Ñ\n", photo[5], win, lost);