patch 9.0.0751: 'scrolloff' does not work well with 'smoothscroll'
Problem: 'scrolloff' does not work well with 'smoothscroll'.
Solution: Make positioning the cursor a bit better. Rename functions.
diff --git a/src/ops.c b/src/ops.c
index 38827ff..a496c49 100644
--- a/src/ops.c
+++ b/src/ops.c
@@ -3261,7 +3261,7 @@
col_print(buf1, sizeof(buf1), (int)curwin->w_cursor.col + 1,
(int)curwin->w_virtcol + 1);
col_print(buf2, sizeof(buf2), (int)STRLEN(p),
- linetabsize(p));
+ linetabsize_str(p));
if (char_count_cursor == byte_count_cursor
&& char_count == byte_count)