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>2021-01-20 21:16:57 -0500
commitf23d39f1cfc1866d5b724e629a51328604b458c4 (patch)
treefd8a5b1018b983d7057fd0ef84f7383efe92c5cc /include
parentddc29d6bd8ff17123986bd5c36556c784476a8c7 (diff)
parent61c8a37d33e36957e32e1b4dc5b521f9ba060494 (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;
}