mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
updated for version 7.1-079
This commit is contained in:
@@ -207,7 +207,10 @@ buf_init_chartab(buf, global)
|
|||||||
}
|
}
|
||||||
while (c <= c2)
|
while (c <= c2)
|
||||||
{
|
{
|
||||||
if (!do_isalpha || isalpha(c)
|
/* Use the MB_ functions here, because isalpha() doesn't
|
||||||
|
* work properly when 'encoding' is "latin1" and the locale is
|
||||||
|
* "C". */
|
||||||
|
if (!do_isalpha || MB_ISLOWER(c) || MB_ISUPPER(c)
|
||||||
#ifdef FEAT_FKMAP
|
#ifdef FEAT_FKMAP
|
||||||
|| (p_altkeymap && (F_isalpha(c) || F_isdigit(c)))
|
|| (p_altkeymap && (F_isalpha(c) || F_isdigit(c)))
|
||||||
#endif
|
#endif
|
||||||
|
@@ -54,10 +54,12 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* toupper() and tolower() that use the current locale.
|
* toupper() and tolower() that use the current locale.
|
||||||
* On some systems toupper()/tolower() only work on lower/uppercase characters
|
* On some systems toupper()/tolower() only work on lower/uppercase
|
||||||
|
* characters, first use islower() or isupper() then.
|
||||||
* Careful: Only call TOUPPER_LOC() and TOLOWER_LOC() with a character in the
|
* Careful: Only call TOUPPER_LOC() and TOLOWER_LOC() with a character in the
|
||||||
* range 0 - 255. toupper()/tolower() on some systems can't handle others.
|
* range 0 - 255. toupper()/tolower() on some systems can't handle others.
|
||||||
* Note: for UTF-8 use utf_toupper() and utf_tolower().
|
* Note: It is often better to use MB_TOLOWER() and MB_TOUPPER(), because many
|
||||||
|
* toupper() and tolower() implementations only work for ASCII.
|
||||||
*/
|
*/
|
||||||
#ifdef MSWIN
|
#ifdef MSWIN
|
||||||
# define TOUPPER_LOC(c) toupper_tab[(c) & 255]
|
# define TOUPPER_LOC(c) toupper_tab[(c) & 255]
|
||||||
|
@@ -666,6 +666,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
79,
|
||||||
/**/
|
/**/
|
||||||
78,
|
78,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user