# HG changeset patch # User vimboss # Date 1199287564 0 # Node ID 88c0c6c9eadab09b029312433f246f65e216a1f0 # Parent 200b706675a56daad05f8b0d60991825c45b6e2d updated for version 7.1-184 diff --git a/src/normal.c b/src/normal.c --- a/src/normal.c +++ b/src/normal.c @@ -5849,12 +5849,13 @@ nv_left(cap) /* When the NL before the first char has to be deleted we * put the cursor on the NUL after the previous line. * This is a very special case, be careful! - * don't adjust op_end now, otherwise it won't work */ + * Don't adjust op_end now, otherwise it won't work. */ if ( (cap->oap->op_type == OP_DELETE || cap->oap->op_type == OP_CHANGE) && !lineempty(curwin->w_cursor.lnum)) { - ++curwin->w_cursor.col; + if (*ml_get_cursor() != NUL) + ++curwin->w_cursor.col; cap->retval |= CA_NO_ADJ_OP_END; } continue; diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -667,6 +667,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 184, +/**/ 183, /**/ 182,