From fb8ca140d3594ea9ec7e092707cb7b5ca16a879b Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sat, 5 Apr 2025 12:15:56 +0200 Subject: com_match: fixed improper use of negative value --- FICS/matchproc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'FICS/matchproc.c') 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)) { -- cgit v1.2.3