Mercurial > vim
diff src/edit.c @ 1300:bacdeee78827 v7.1.014
updated for version 7.1-014
author | vimboss |
---|---|
date | Thu, 28 Jun 2007 10:49:22 +0000 |
parents | aea597af5b4e |
children | 9fb5bb1ea79b |
line wrap: on
line diff
--- a/src/edit.c +++ b/src/edit.c @@ -7215,6 +7215,8 @@ in_cinkeys(keytyped, when, line_is_empty 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] == ':')