diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-02-19 11:20:12 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-02-19 11:20:12 +0000 |
commit | 5921aeb5741fc6e84c870d68c7c35b93ad0c9f87 (patch) | |
tree | 4021a330986b5974383318a43a0e440b6bfb7503 /src/proto/charset.pro | |
parent | e89bfd212b21c227f026e467f882c62cdd6e642d (diff) |
patch 8.2.4418: crash when using special multi-byte characterv8.2.4418
Problem: Crash when using special multi-byte character.
Solution: Don't use isalpha() for an arbitrary character.
Diffstat (limited to 'src/proto/charset.pro')
-rw-r--r-- | src/proto/charset.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/charset.pro b/src/proto/charset.pro index ee5370bccd..df097109c1 100644 --- a/src/proto/charset.pro +++ b/src/proto/charset.pro @@ -50,6 +50,7 @@ int vim_isxdigit(int c); int vim_isbdigit(int c); int vim_islower(int c); int vim_isupper(int c); +int vim_isalpha(int c); int vim_toupper(int c); int vim_tolower(int c); char_u *skiptowhite(char_u *p); @@ -63,5 +64,4 @@ int hexhex2nr(char_u *p); int rem_backslash(char_u *str); void backslash_halve(char_u *p); char_u *backslash_halve_save(char_u *p); -void ebcdic2ascii(char_u *buffer, int len); /* vim: set ft=c : */ |