summaryrefslogtreecommitdiffstats
path: root/Action.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Action.hs')
-rw-r--r--Action.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Action.hs b/Action.hs
index 7ca023d..95bc7ca 100644
--- a/Action.hs
+++ b/Action.hs
@@ -193,9 +193,8 @@ topOverrun State{..} =
botOverrun :: State -> Int
botOverrun State{..} =
- max 0 (linearPos cursor - yoffset - (screenHeight - (length headBuffer) - 1))
+ max 0 (linearPos cursor - yoffset - (screenHeight - length headBuffer - 1))
setSubForest :: Tree.Forest a -> Tree.Tree a -> Tree.Tree a
setSubForest sf t = t { Tree.subForest = sf }
-