Problem: Crash when spell checking in new buffer.
Solution: Set the b_p_key field. (Mike Williams)
{
buf->b_spell = TRUE;
buf->b_p_swf = TRUE; /* may create a swap file */
+#ifdef FEAT_CRYPT
+ buf->b_p_key = empty_option;
+#endif
ml_open(buf);
ml_open_file(buf); /* create swap file now */
}
:set enc=latin1
:e!
:"
+:" Check using z= in new buffer (crash fixed by patch 7.4a.028).
+:set maxmem=512 spell
+iasd\ez=:"
+:"
:" Function to test .aff/.dic with list of good and bad words.
:func TestOne(aff, dic)
set spellfile=
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 28,
/**/
27,
/**/