aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authortslil clingman <tslil@posteo.de>2021-01-20 21:16:57 -0500
committertslil <tslil@posteo.de>2026-08-28 19:37:41 +0100
commit1b0338a0546b760e8a7ffa61b38c410a166aae7c (patch)
treefd8a5b1018b983d7057fd0ef84f7383efe92c5cc /include
parent39ec3bc95e6a27e97c3200a558d9cc8712853606 (diff)
parent11174c695058e737519bf24b812dc5a7d64f35c1 (diff)
Merge branch 'master' of git.sr.ht:~tslil/ctak
Diffstat (limited to 'include')
-rw-r--r--include/ct1986.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ct1986.c b/include/ct1986.c
index ec73f7c..24c9c64 100644
--- a/include/ct1986.c
+++ b/include/ct1986.c
@@ -241,7 +241,8 @@ ct1986_minimax(const uint8_t cur_depth, const uint8_t max_depth,
upper = (col > count) ? count : col;
break;
}
- case M_RIGHT: {
+ case M_RIGHT: // fall through
+ default: {
upper = (4-col > count) ? count : 4-col;
break;
}