|
Karsten Hopp |
1ddef1 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
1ddef1 |
Subject: Patch 7.2.069
|
|
Karsten Hopp |
1ddef1 |
Fcc: outbox
|
|
Karsten Hopp |
1ddef1 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
1ddef1 |
Mime-Version: 1.0
|
|
Karsten Hopp |
1ddef1 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
1ddef1 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
1ddef1 |
------------
|
|
Karsten Hopp |
1ddef1 |
|
|
Karsten Hopp |
1ddef1 |
Patch 7.2.069 (after 7.2.060)
|
|
Karsten Hopp |
1ddef1 |
Problem: Compiler warning for storing size_t in int.
|
|
Karsten Hopp |
1ddef1 |
Solution: Add type cast.
|
|
Karsten Hopp |
1ddef1 |
Files: src/spell.c
|
|
Karsten Hopp |
1ddef1 |
|
|
Karsten Hopp |
1ddef1 |
|
|
Karsten Hopp |
1ddef1 |
*** ../vim-7.2.068/src/spell.c Sun Nov 30 21:11:54 2008
|
|
Karsten Hopp |
1ddef1 |
--- src/spell.c Tue Dec 9 22:19:04 2008
|
|
Karsten Hopp |
1ddef1 |
***************
|
|
Karsten Hopp |
1ddef1 |
*** 1765,1771 ****
|
|
Karsten Hopp |
1ddef1 |
/* Second part matches at start of following compound word, now
|
|
Karsten Hopp |
1ddef1 |
* check if first part matches at end of previous word. */
|
|
Karsten Hopp |
1ddef1 |
p = ((char_u **)gap->ga_data)[i];
|
|
Karsten Hopp |
1ddef1 |
! len = STRLEN(p);
|
|
Karsten Hopp |
1ddef1 |
if (len <= wlen && STRNCMP(ptr + wlen - len, p, len) == 0)
|
|
Karsten Hopp |
1ddef1 |
return TRUE;
|
|
Karsten Hopp |
1ddef1 |
}
|
|
Karsten Hopp |
1ddef1 |
--- 1765,1771 ----
|
|
Karsten Hopp |
1ddef1 |
/* Second part matches at start of following compound word, now
|
|
Karsten Hopp |
1ddef1 |
* check if first part matches at end of previous word. */
|
|
Karsten Hopp |
1ddef1 |
p = ((char_u **)gap->ga_data)[i];
|
|
Karsten Hopp |
1ddef1 |
! len = (int)STRLEN(p);
|
|
Karsten Hopp |
1ddef1 |
if (len <= wlen && STRNCMP(ptr + wlen - len, p, len) == 0)
|
|
Karsten Hopp |
1ddef1 |
return TRUE;
|
|
Karsten Hopp |
1ddef1 |
}
|
|
Karsten Hopp |
1ddef1 |
*** ../vim-7.2.068/src/version.c Tue Dec 9 12:12:31 2008
|
|
Karsten Hopp |
1ddef1 |
--- src/version.c Tue Dec 9 22:21:15 2008
|
|
Karsten Hopp |
1ddef1 |
***************
|
|
Karsten Hopp |
1ddef1 |
*** 678,679 ****
|
|
Karsten Hopp |
1ddef1 |
--- 678,681 ----
|
|
Karsten Hopp |
1ddef1 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
1ddef1 |
+ /**/
|
|
Karsten Hopp |
1ddef1 |
+ 69,
|
|
Karsten Hopp |
1ddef1 |
/**/
|
|
Karsten Hopp |
1ddef1 |
|
|
Karsten Hopp |
1ddef1 |
--
|
|
Karsten Hopp |
1ddef1 |
The war between Emacs and Vi is over. Vi has won with 3 to 1.
|
|
Karsten Hopp |
1ddef1 |
http://www.ssc.com/lg/issue30/raymond.html
|
|
Karsten Hopp |
1ddef1 |
|
|
Karsten Hopp |
1ddef1 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
1ddef1 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
1ddef1 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
1ddef1 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|