diff options
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c index fe33685792..28565fa427 100644 --- a/src/screen.c +++ b/src/screen.c @@ -3600,7 +3600,7 @@ win_line(wp, lnum, startrow, endrow) 1); spell_attr = 0; - iswordc = vim_iswordc_buf(prev_ptr, wp->w_buffer); + iswordc = spell_iswordc(prev_ptr); if (iswordc && !prev_iswordc) { word_end = v + spell_check(wp, prev_ptr, |