From 4b07b795ea2032151b263903af76e4149ac6dccb Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 11 Nov 2009 13:21:25 +0000 Subject: [PATCH] [7.2.285] CTRL-U in Insert mode also deletes indent. (Andrey Voropaev) Problem: CTRL-U in Insert mode also deletes indent. (Andrey Voropaev) Solution: Fix mistake made in patch 7.2.169. Patch 7.2.285 (after 7.2.169) --- src/edit.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/edit.c b/src/edit.c index 347571f4..d825d83e 100644 --- a/src/edit.c +++ b/src/edit.c @@ -8519,7 +8519,7 @@ ins_bs(c, mode, inserted_space_p) { save_col = curwin->w_cursor.col; beginline(BL_WHITE); - if (curwin->w_cursor.col < (colnr_T)temp) + if (curwin->w_cursor.col < save_col) mincol = curwin->w_cursor.col; curwin->w_cursor.col = save_col; } diff --git a/src/version.c b/src/version.c index 8a71cbe3..fbb9f44a 100644 --- a/src/version.c +++ b/src/version.c @@ -677,6 +677,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 285, +/**/ 284, /**/ 283, -- 2.11.4.GIT