0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.1-079

This commit is contained in:
Bram Moolenaar
2007-08-15 18:41:34 +00:00
parent 70c2a63474
commit deefb63bfb
3 changed files with 10 additions and 3 deletions

View File

@@ -207,7 +207,10 @@ buf_init_chartab(buf, global)
}
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
|| (p_altkeymap && (F_isalpha(c) || F_isdigit(c)))
#endif