aboutsummaryrefslogtreecommitdiff
path: root/src/gui.rs
diff options
context:
space:
mode:
authortslil clingman <>2020-01-27 22:16:59 -0800
committertslil clingman <>2020-01-27 22:16:59 -0800
commit38200848953b1d8d7ba083752c2621603842b54e (patch)
tree9e13f26df343d472c040ac6678a9836c5ba11eb7 /src/gui.rs
parent87c2d3319effd4d6be83875bdb455be9077c0c1c (diff)
fix ptn issues
Diffstat (limited to 'src/gui.rs')
-rw-r--r--src/gui.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui.rs b/src/gui.rs
index bd7ca7c..1b5f8a2 100644
--- a/src/gui.rs
+++ b/src/gui.rs
@@ -204,7 +204,7 @@ impl BoardGUI {
for i in 0..height {
let piece = &stack[i];
self.draw_stone(win, i + 1 == height, &piece.player, &piece.stone);
- if tall && i + 2 == carry_capacity {
+ if tall && i + 1 == height - carry_capacity {
win.attrset(Attribute::Normal);
win.addch(')');
}