diff src/spell.c @ 883:7c28790fa8b4 v7.0.009

updated for version 7.0-009
author vimboss
date Sat, 13 May 2006 12:09:24 +0000
parents 5de6b337e1a2
children bc68103ea3f6
line wrap: on
line diff
--- a/src/spell.c
+++ b/src/spell.c
@@ -2108,7 +2108,8 @@ spell_move_to(wp, dir, allwords, curline
 	 * possible. */
 	STRCPY(buf, line);
 	if (lnum < wp->w_buffer->b_ml.ml_line_count)
-	    spell_cat_line(buf + STRLEN(buf), ml_get(lnum + 1), MAXWLEN);
+	    spell_cat_line(buf + STRLEN(buf),
+			  ml_get_buf(wp->w_buffer, lnum + 1, FALSE), MAXWLEN);
 
 	p = buf + skip;
 	endp = buf + len;