tvi: fix the spelling of vi_scrollforward - neatvi - [fork] simple vi-type edit… | |
git clone git://src.adamsgaard.dk/neatvi | |
Log | |
Files | |
Refs | |
README | |
--- | |
commit f1f7d6c1e32ae38ddfb6ff6655dade4e9d82faa8 | |
parent 0cda11bd3981b5cdf7c73774420019413e9fe032 | |
Author: Ali Gholami Rudi <[email protected]> | |
Date: Wed, 1 Sep 2021 19:05:35 +0430 | |
vi: fix the spelling of vi_scrollforward | |
Reported by Kyryl Melekhin <[email protected]>. | |
Diffstat: | |
M vi.c | 6 +++--- | |
1 file changed, 3 insertions(+), 3 deletions(-) | |
--- | |
diff --git a/vi.c b/vi.c | |
t@@ -943,7 +943,7 @@ static int vc_join(void) | |
return 0; | |
} | |
-static int vi_scrollforeward(int cnt) | |
+static int vi_scrollforward(int cnt) | |
{ | |
if (xtop >= lbuf_len(xb) - 1) | |
return 1; | |
t@@ -1101,13 +1101,13 @@ static void vi(void) | |
mod = 1; | |
break; | |
case TK_CTL('f'): | |
- if (vi_scrollforeward(MAX(1, vi_arg1) * (xrows… | |
+ if (vi_scrollforward(MAX(1, vi_arg1) * (xrows … | |
break; | |
xoff = lbuf_indents(xb, xrow); | |
mod = 1; | |
break; | |
case TK_CTL('e'): | |
- if (vi_scrollforeward(MAX(1, vi_arg1))) | |
+ if (vi_scrollforward(MAX(1, vi_arg1))) | |
break; | |
break; | |
case TK_CTL('y'): |