Mercurial > vim
changeset 883:7c28790fa8b4 v7.0.009
updated for version 7.0-009
author | vimboss |
---|---|
date | Sat, 13 May 2006 12:09:24 +0000 |
parents | 6b89fd4ffcc6 |
children | 9f184758f277 |
files | src/spell.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
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;