diff options
author | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-29 00:19:00 +0800 |
---|---|---|
committer | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-29 00:19:00 +0800 |
commit | cd3513b90098e739976c40819e24f14de3b7e33f (patch) | |
tree | 9d7b0d7a4a2f19cd600a03be6bd5802ddcea1e91 /mbbsd/chc.c | |
parent | 426b7f33fa6dd881841bdc8209a4295520305a4c (diff) | |
download | pttbbs-cd3513b90098e739976c40819e24f14de3b7e33f.tar pttbbs-cd3513b90098e739976c40819e24f14de3b7e33f.tar.gz pttbbs-cd3513b90098e739976c40819e24f14de3b7e33f.tar.bz2 pttbbs-cd3513b90098e739976c40819e24f14de3b7e33f.tar.lz pttbbs-cd3513b90098e739976c40819e24f14de3b7e33f.tar.xz pttbbs-cd3513b90098e739976c40819e24f14de3b7e33f.tar.zst pttbbs-cd3513b90098e739976c40819e24f14de3b7e33f.zip |
write '[Result "*"]' for unknown status chc log
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3110 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/chc.c')
-rw-r--r-- | mbbsd/chc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/chc.c b/mbbsd/chc.c index 3d9b2b82..a76d6ca6 100644 --- a/mbbsd/chc.c +++ b/mbbsd/chc.c @@ -379,6 +379,8 @@ chc_genlog(ChessInfo* info, FILE* fp, ChessGameResult result) result == CHESS_RESULT_TIE ? "0.5-0.5" : (info->myturn == RED) == (result== CHESS_RESULT_WIN) ? "1-0" : "0-1"); + else + fprintf(fp, "[Result \"*\"]\n"); fprintf(fp, "[Notation \"Coord\"]\n" |