summaryrefslogtreecommitdiff
path: root/src/drawline.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drawline.c')
-rw-r--r--src/drawline.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drawline.c b/src/drawline.c
index 1415a3177..9a4ff7dc5 100644
--- a/src/drawline.c
+++ b/src/drawline.c
@@ -1421,7 +1421,9 @@ win_line(
syntax_attr = prev_syntax_attr;
else
{
+# ifdef FEAT_SPELL
can_spell = TRUE;
+# endif
syntax_attr = get_syntax_attr((colnr_T)v,
# ifdef FEAT_SPELL
has_spell ? &can_spell :