0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

updated for version 7.0070

This commit is contained in:
Bram Moolenaar
2005-04-23 20:52:00 +00:00
parent 8fcc0f71a1
commit 0cb032ecb8
20 changed files with 3096 additions and 97 deletions

View File

@@ -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;