summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c
index 40f83c0b6..a1e8b5fa0 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -4541,7 +4541,7 @@ win_line(
#ifdef FEAT_TERMINAL
if (get_term_attr)
{
- syntax_attr = term_get_attr(wp->w_buffer, lnum, col);
+ syntax_attr = term_get_attr(wp->w_buffer, lnum, vcol);
if (!attr_pri)
char_attr = syntax_attr;