commit | 60a795aad6ade281146a5343b416f21825af5364 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Sep 16 21:55:43 2005 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Sep 16 21:55:43 2005 +0000 |
tree | f38bf3d5e39bd321b2ff7b4d9bdf0367c8bec00b | |
parent | 6b730e111c329caccbb16f08c5b6bbc41d3b5690 [diff] [blame] |
updated for version 7.0148
diff --git a/src/screen.c b/src/screen.c index 6e25471..f497f37 100644 --- a/src/screen.c +++ b/src/screen.c
@@ -2931,7 +2931,7 @@ wp->w_cursor.lnum = lnum; wp->w_cursor.col = ptr - line; len = spell_move_to(wp, FORWARD, TRUE, TRUE, &spell_attr); - if (len == 0 || wp->w_cursor.col > ptr - line) + if (len == 0 || (int)wp->w_cursor.col > ptr - line) { /* no bad word found at line start, don't check until end of a * word */