From 22d86c49988af3dfd615bfd728df9cc5870f8e34 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sun, 18 Feb 2018 14:23:41 +0200 Subject: [PATCH] Fix autoscale vertical start detection if start position was early and vertical size was small enough. --- custom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom.cpp b/custom.cpp index 949e807b..bcad358c 100644 --- a/custom.cpp +++ b/custom.cpp @@ -8694,7 +8694,7 @@ static void hsync_handler_post (bool onvsync) if (plfstop + 2 * f > ddflastword_total + 2 * f) ddflastword_total = plfstop + 2 * f; } - if ((plffirstline < plffirstline_total || (plffirstline_total == minfirstline && vpos > minfirstline)) && plffirstline < vpos / 2) { + if ((plffirstline < plffirstline_total || (plffirstline_total == minfirstline && vpos > minfirstline)) && plffirstline < maxvpos / 2) { firstword_bplcon1 = bplcon1; if (plffirstline < minfirstline) plffirstline_total = minfirstline; -- 2.47.3