From: Toni Wilen Date: Sun, 18 Feb 2018 12:23:41 +0000 (+0200) Subject: Fix autoscale vertical start detection if start position was early and vertical size... X-Git-Tag: 4000~177 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=22d86c49988af3dfd615bfd728df9cc5870f8e34;p=francis%2Fwinuae.git Fix autoscale vertical start detection if start position was early and vertical size was small enough. --- 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;