commit | 5c8837f9d7785c65c40f1485a779cc886750a5e9 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Feb 25 21:52:33 2006 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Feb 25 21:52:33 2006 +0000 |
tree | 4f5ecb382974d741127e70d01975ee9046a5a90c | |
parent | c542aef58df8ea69708d29d6fcbfa44f5eb3481d [diff] [blame] |
updated for version 7.0207
diff --git a/src/screen.c b/src/screen.c index 692318c..adedce9 100644 --- a/src/screen.c +++ b/src/screen.c
@@ -6167,10 +6167,10 @@ || (shl->rm.endpos[0].lnum == 0 && shl->rm.endpos[0].col <= shl->rm.startpos[0].col)) { - char_u *ml = ml_get_buf(shl->buf, lnum, FALSE); + char_u *ml; matchcol = shl->rm.startpos[0].col; - ml += matchcol; + ml = ml_get_buf(shl->buf, lnum, FALSE) + matchcol; if (*ml == NUL) { ++matchcol;