From e38bcd2808f8e307d2725b42cbb696f96967a086 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Thu, 11 Jul 2019 18:54:47 +0000 Subject: [PATCH] Fix scrolling (borken in vmem_puttext update) --- src/uifc/uifc32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uifc/uifc32.c b/src/uifc/uifc32.c index 3f126c3756..1f0cf7a36c 100644 --- a/src/uifc/uifc32.c +++ b/src/uifc/uifc32.c @@ -530,7 +530,7 @@ static void scroll_text(int x1, int y1, int x2, int y2, int down) if(down) vmem_puttext(x1,y1+1,x2,y2,tmp_buffer2); else - vmem_puttext(x1,y1,x2,y2-1,tmp_buffer2+(((x2-x1)+1)*2)); + vmem_puttext(x1,y1,x2,y2-1,tmp_buffer2+(((x2-x1)+1))); } /****************************************************************************/ -- GitLab