|
Karsten Hopp |
ce3731 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
ce3731 |
Subject: Patch 7.1.212
|
|
Karsten Hopp |
ce3731 |
Fcc: outbox
|
|
Karsten Hopp |
ce3731 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
ce3731 |
Mime-Version: 1.0
|
|
Karsten Hopp |
ce3731 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
ce3731 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
ce3731 |
------------
|
|
Karsten Hopp |
ce3731 |
|
|
Karsten Hopp |
ce3731 |
Patch 7.1.212
|
|
Karsten Hopp |
ce3731 |
Problem: Accessing a byte before a line.
|
|
Karsten Hopp |
ce3731 |
Solution: Check that the column is 1 or more. (Dominuque Pelle)
|
|
Karsten Hopp |
ce3731 |
Files: src/edit.c
|
|
Karsten Hopp |
ce3731 |
|
|
Karsten Hopp |
ce3731 |
|
|
Karsten Hopp |
ce3731 |
*** ../vim-7.1.211/src/edit.c Sun Jan 6 20:05:36 2008
|
|
Karsten Hopp |
ce3731 |
--- src/edit.c Mon Jan 7 22:31:36 2008
|
|
Karsten Hopp |
ce3731 |
***************
|
|
Karsten Hopp |
ce3731 |
*** 8452,8457 ****
|
|
Karsten Hopp |
ce3731 |
--- 8452,8458 ----
|
|
Karsten Hopp |
ce3731 |
if ( mode == BACKSPACE_CHAR
|
|
Karsten Hopp |
ce3731 |
&& ((p_sta && in_indent)
|
|
Karsten Hopp |
ce3731 |
|| (curbuf->b_p_sts != 0
|
|
Karsten Hopp |
ce3731 |
+ && curwin->w_cursor.col > 0
|
|
Karsten Hopp |
ce3731 |
&& (*(ml_get_cursor() - 1) == TAB
|
|
Karsten Hopp |
ce3731 |
|| (*(ml_get_cursor() - 1) == ' '
|
|
Karsten Hopp |
ce3731 |
&& (!*inserted_space_p
|
|
Karsten Hopp |
ce3731 |
*** ../vim-7.1.211/src/version.c Sun Jan 6 20:05:36 2008
|
|
Karsten Hopp |
ce3731 |
--- src/version.c Wed Jan 9 10:11:49 2008
|
|
Karsten Hopp |
ce3731 |
***************
|
|
Karsten Hopp |
ce3731 |
*** 668,669 ****
|
|
Karsten Hopp |
ce3731 |
--- 668,671 ----
|
|
Karsten Hopp |
ce3731 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
ce3731 |
+ /**/
|
|
Karsten Hopp |
ce3731 |
+ 212,
|
|
Karsten Hopp |
ce3731 |
/**/
|
|
Karsten Hopp |
ce3731 |
|
|
Karsten Hopp |
ce3731 |
--
|
|
Karsten Hopp |
ce3731 |
CRONE: Who sent you?
|
|
Karsten Hopp |
ce3731 |
ARTHUR: The Knights Who Say Ni!
|
|
Karsten Hopp |
ce3731 |
CRONE: Aaaagh! (she looks around in rear) No! We have no shrubberies here.
|
|
Karsten Hopp |
ce3731 |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
ce3731 |
|
|
Karsten Hopp |
ce3731 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
ce3731 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
ce3731 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
ce3731 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|