Mercurial > vim
diff src/screen.c @ 258:f93df7322443
updated for version 7.0070
author | vimboss |
---|---|
date | Sat, 23 Apr 2005 20:52:00 +0000 |
parents | 4707450c2b33 |
children | fe16c18c24a7 |
line wrap: on
line diff
--- a/src/screen.c +++ b/src/screen.c @@ -2603,7 +2603,10 @@ win_line(wp, lnum, startrow, endrow) } } - if (wp->w_p_spell && *wp->w_buffer->b_p_spl != NUL) + if (wp->w_p_spell + && *wp->w_buffer->b_p_spl != NUL + && wp->w_buffer->b_langp.ga_len > 0 + && *(char **)(wp->w_buffer->b_langp.ga_data) != NULL) { /* Prepare for spell checking. */ has_spell = TRUE;