Mercurial > vim
comparison src/drawline.c @ 18337:b08dbcb42399 v8.1.2163
patch 8.1.2163: cannot build with +spell but without +syntax
Commit: https://github.com/vim/vim/commit/b2fe1d676f28af92989a842d4e8708dddf157b3d
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Oct 16 21:33:40 2019 +0200
patch 8.1.2163: cannot build with +spell but without +syntax
Problem: Cannot build with +spell but without +syntax.
Solution: Add #ifdef. (John Marriott)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 16 Oct 2019 21:45:03 +0200 |
parents | 3e657635ca36 |
children | 596a04c49d76 |
comparison
equal
deleted
inserted
replaced
18336:453465f57acc | 18337:b08dbcb42399 |
---|---|
1419 if (v == prev_syntax_col) | 1419 if (v == prev_syntax_col) |
1420 // at same column again | 1420 // at same column again |
1421 syntax_attr = prev_syntax_attr; | 1421 syntax_attr = prev_syntax_attr; |
1422 else | 1422 else |
1423 { | 1423 { |
1424 # ifdef FEAT_SPELL | |
1424 can_spell = TRUE; | 1425 can_spell = TRUE; |
1426 # endif | |
1425 syntax_attr = get_syntax_attr((colnr_T)v, | 1427 syntax_attr = get_syntax_attr((colnr_T)v, |
1426 # ifdef FEAT_SPELL | 1428 # ifdef FEAT_SPELL |
1427 has_spell ? &can_spell : | 1429 has_spell ? &can_spell : |
1428 # endif | 1430 # endif |
1429 NULL, FALSE); | 1431 NULL, FALSE); |