|
Karsten Hopp |
9b839a |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
9b839a |
Subject: Patch 7.4.025
|
|
Karsten Hopp |
9b839a |
Fcc: outbox
|
|
Karsten Hopp |
9b839a |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
9b839a |
Mime-Version: 1.0
|
|
Karsten Hopp |
9b839a |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
9b839a |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
9b839a |
------------
|
|
Karsten Hopp |
9b839a |
|
|
Karsten Hopp |
9b839a |
Patch 7.4.025 (after 7.4.019
|
|
Karsten Hopp |
9b839a |
Problem: Reading before start of a string.
|
|
Karsten Hopp |
9b839a |
Solution: Do not call mb_ptr_back() at start of a string. (Dominique Pelle)
|
|
Karsten Hopp |
9b839a |
Files: src/edit.c
|
|
Karsten Hopp |
9b839a |
|
|
Karsten Hopp |
9b839a |
|
|
Karsten Hopp |
9b839a |
*** ../vim-7.4.024/src/edit.c 2013-09-07 16:35:38.000000000 +0200
|
|
Karsten Hopp |
9b839a |
--- src/edit.c 2013-09-08 15:57:20.000000000 +0200
|
|
Karsten Hopp |
9b839a |
***************
|
|
Karsten Hopp |
9b839a |
*** 5187,5197 ****
|
|
Karsten Hopp |
9b839a |
|
|
Karsten Hopp |
9b839a |
/* Go back to just before the first filename character. */
|
|
Karsten Hopp |
9b839a |
mb_ptr_back(line, p);
|
|
Karsten Hopp |
9b839a |
! while (vim_isfilec(PTR2CHAR(p)) && p >= line)
|
|
Karsten Hopp |
9b839a |
mb_ptr_back(line, p);
|
|
Karsten Hopp |
9b839a |
! startcol = (int)(p - line);
|
|
Karsten Hopp |
9b839a |
|
|
Karsten Hopp |
9b839a |
! compl_col += ++startcol;
|
|
Karsten Hopp |
9b839a |
compl_length = (int)curs_col - startcol;
|
|
Karsten Hopp |
9b839a |
compl_pattern = addstar(line + compl_col, compl_length,
|
|
Karsten Hopp |
9b839a |
EXPAND_FILES);
|
|
Karsten Hopp |
9b839a |
--- 5187,5199 ----
|
|
Karsten Hopp |
9b839a |
|
|
Karsten Hopp |
9b839a |
/* Go back to just before the first filename character. */
|
|
Karsten Hopp |
9b839a |
mb_ptr_back(line, p);
|
|
Karsten Hopp |
9b839a |
! while (p > line && vim_isfilec(PTR2CHAR(p)))
|
|
Karsten Hopp |
9b839a |
mb_ptr_back(line, p);
|
|
Karsten Hopp |
9b839a |
! startcol = (int)(p - line) + 1;
|
|
Karsten Hopp |
9b839a |
! if (p == line && vim_isfilec(PTR2CHAR(p)))
|
|
Karsten Hopp |
9b839a |
! startcol = 0;
|
|
Karsten Hopp |
9b839a |
|
|
Karsten Hopp |
9b839a |
! compl_col += startcol;
|
|
Karsten Hopp |
9b839a |
compl_length = (int)curs_col - startcol;
|
|
Karsten Hopp |
9b839a |
compl_pattern = addstar(line + compl_col, compl_length,
|
|
Karsten Hopp |
9b839a |
EXPAND_FILES);
|
|
Karsten Hopp |
9b839a |
*** ../vim-7.4.024/src/version.c 2013-09-08 15:40:45.000000000 +0200
|
|
Karsten Hopp |
9b839a |
--- src/version.c 2013-09-08 15:52:39.000000000 +0200
|
|
Karsten Hopp |
9b839a |
***************
|
|
Karsten Hopp |
9b839a |
*** 740,741 ****
|
|
Karsten Hopp |
9b839a |
--- 740,743 ----
|
|
Karsten Hopp |
9b839a |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
9b839a |
+ /**/
|
|
Karsten Hopp |
9b839a |
+ 25,
|
|
Karsten Hopp |
9b839a |
/**/
|
|
Karsten Hopp |
9b839a |
|
|
Karsten Hopp |
9b839a |
--
|
|
Karsten Hopp |
9b839a |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
9b839a |
188. You purchase a laptop so you can surf while sitting on the can.
|
|
Karsten Hopp |
9b839a |
|
|
Karsten Hopp |
9b839a |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
9b839a |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
9b839a |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
9b839a |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|