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 40c9a15a1..42995c727 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -3257,7 +3257,7 @@ win_line(
{
extra_check = TRUE;
get_term_attr = TRUE;
- term_attr = term_get_attr(wp->w_buffer, 0, 0);
+ term_attr = term_get_attr(wp->w_buffer, lnum, -1);
}
#endif