ref: 7b2f152235e1a556bb3483076c9ca4b42e2f187d
parent: 08d25423206171ba9e5666ed60c57b5e522d6c0c
author: qwx <qwx@sciops.net>
date: Sun Feb 5 12:02:07 EST 2023
draw: fix nonsense delta for panning with keys + 1 to avoid being one pixel off at the beginning or end
--- a/draw.c
+++ b/draw.c
@@ -283,7 +283,7 @@
void
setpage(int d)
{
- setpan(d * (vlong)T * Dx(screen->r) / Dx(view->r));
+ setpan(d * (Dx(view->r) + 1));
}
void