aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2025-04-05 12:15:56 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2025-04-05 12:15:56 +0200
commitfb8ca140d3594ea9ec7e092707cb7b5ca16a879b (patch)
tree604791b6ffe11a061c4ef02a5134771ab4965022 /FICS
parent0c4c1213231f6bf67d54ef029ea927c189c85d3f (diff)
com_match: fixed improper use of negative value
Diffstat (limited to 'FICS')
-rw-r--r--FICS/matchproc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/FICS/matchproc.c b/FICS/matchproc.c
index fb13439..7b864de 100644
--- a/FICS/matchproc.c
+++ b/FICS/matchproc.c
@@ -1079,7 +1079,8 @@ com_match(int p, param_list param)
.wt = wt,
};
- print_bughouse(p, p1, &ctx, colorstr);
+ if (ctx.white >= 0)
+ print_bughouse(p, p1, &ctx, colorstr);
}
if (in_list(p, L_COMPUTER, parray[p].name)) {