summaryrefslogtreecommitdiffstats
path: root/mbbsd/chc.c
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-30 20:14:28 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-30 20:14:28 +0800
commitd1a4e3aaa506d174712674e5fd452d377a599a8a (patch)
treed30288e7bb9fe0ee25641131c914b0192a112c42 /mbbsd/chc.c
parent2343dbf54cb10b68b3e6cb598e396818e773ece6 (diff)
downloadpttbbs-d1a4e3aaa506d174712674e5fd452d377a599a8a.tar
pttbbs-d1a4e3aaa506d174712674e5fd452d377a599a8a.tar.gz
pttbbs-d1a4e3aaa506d174712674e5fd452d377a599a8a.tar.bz2
pttbbs-d1a4e3aaa506d174712674e5fd452d377a599a8a.tar.lz
pttbbs-d1a4e3aaa506d174712674e5fd452d377a599a8a.tar.xz
pttbbs-d1a4e3aaa506d174712674e5fd452d377a599a8a.tar.zst
pttbbs-d1a4e3aaa506d174712674e5fd452d377a599a8a.zip
chc replay display problem
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3119 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/chc.c')
-rw-r--r--mbbsd/chc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/chc.c b/mbbsd/chc.c
index a76d6ca6..d14baf3c 100644
--- a/mbbsd/chc.c
+++ b/mbbsd/chc.c
@@ -939,7 +939,7 @@ chc_replay(FILE* fp)
userec_t rec;
char *userid;
ChessUser *user =
- (buf[0] == 'R' ? &info->user1 : &info->user2);
+ (buf[1] == 'R' ? &info->user1 : &info->user2);
strtok(buf, "\"");
userid = strtok(NULL, "\"");