refactor(plines): remove implicit curwin chartabsize() function

This commit is contained in:
Björn Linse
2021-08-10 23:18:12 +02:00
parent b506643dfc
commit ac56a27a10
6 changed files with 13 additions and 18 deletions

View File

@@ -828,7 +828,7 @@ void ex_retab(exarg_T *eap)
}
if (ptr[col] == NUL)
break;
vcol += chartabsize(ptr + col, (colnr_T)vcol);
vcol += win_chartabsize(curwin, ptr + col, (colnr_T)vcol);
col += utfc_ptr2len(ptr + col);
}
if (new_line == NULL) /* out of memory */