tvi: fix updating previous hll row - neatvi - [fork] simple vi-type editor with UTF-8 support
 (HTM) git clone git://src.adamsgaard.dk/neatvi
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
 (DIR) commit 7c800ce91775309ad896f377d3be4f994f398e44
 (DIR) parent 334aa96130c257032e7d7eeef650618bf706f09a
 (HTM) Author: Ali Gholami Rudi <ali@rudi.ir>
       Date:   Tue, 21 Jan 2020 00:21:06 +0330
       
       vi: fix updating previous hll row
       
       Diffstat:
         M vi.c                                |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/vi.c b/vi.c
       t@@ -1334,7 +1334,7 @@ static void vi(void)
                        } else {
                                if (xtop != otop)
                                        vi_drawupdate(xcol, otop);
       -                        if (xhll && xrow != orow && orow >= xtop && orow < xtop + xcols)
       +                        if (xhll && xrow != orow && orow >= xtop && orow < xtop + xrows)
                                        vi_drawrow(orow);
                                if (xhll && xrow != orow)
                                        vi_drawrow(xrow);