commit | 3011815c8a7995f2c89812ffa9cddc822ad94fa7 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Jun 28 10:49:22 2007 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Jun 28 10:49:22 2007 +0000 |
tree | e77da2418e91cb1bf3a2f1af3061e7f230eeaf97 | |
parent | 786b1dc2a48473a6e46a478632a99a321b4ec761 [diff] [blame] |
updated for version 7.1-014
diff --git a/src/edit.c b/src/edit.c index fccb13f..6113541 100644 --- a/src/edit.c +++ b/src/edit.c
@@ -7215,6 +7215,8 @@ p = ml_get_curline(); if (cin_iscase(p) || cin_isscopedecl(p) || cin_islabel(30)) return TRUE; + /* Need to get the line again after cin_islabel(). */ + p = ml_get_curline(); if (curwin->w_cursor.col > 2 && p[curwin->w_cursor.col - 1] == ':' && p[curwin->w_cursor.col - 2] == ':')