From 048e7f6af91ec7c4b14774388dc11db5599ea07b Mon Sep 17 00:00:00 2001 From: malc Date: Sat, 4 Feb 2012 20:07:01 +0400 Subject: [PATCH] Restore proper maxrows calculation --- main.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.ml b/main.ml index e687c90..1d2bbdf 100644 --- a/main.ml +++ b/main.ml @@ -451,7 +451,7 @@ let fstate = let setfontsize n = fstate.fontsize <- n; fstate.wwidth <- measurestr fstate.fontsize "w"; - fstate.maxrows <- conf.winh / (fstate.fontsize + 1); + fstate.maxrows <- (conf.winh - fstate.fontsize - 1) / (fstate.fontsize + 1); ;; let gotouri uri = -- 2.11.4.GIT