diff options
author | Felipe Oliveira Carvalho <felipekde@gmail.com> | 2015-04-22 19:49:53 -0300 |
---|---|---|
committer | Felipe Oliveira Carvalho <felipekde@gmail.com> | 2015-04-24 20:37:13 -0300 |
commit | 2ca8afc74eada76f50ae60dbb0d6f1804d36bed5 (patch) | |
tree | 4f272a27dd1d2529382d7d1cc409c988a87b2dee /src/nvim/ops.c | |
parent | caabcae0b7470731e793c199b905bfa1bb696914 (diff) | |
download | rneovim-2ca8afc74eada76f50ae60dbb0d6f1804d36bed5.tar.gz rneovim-2ca8afc74eada76f50ae60dbb0d6f1804d36bed5.tar.bz2 rneovim-2ca8afc74eada76f50ae60dbb0d6f1804d36bed5.zip |
Replace vim_isxdigit() with to ascii_isxdigit() defined in ascii.h
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r-- | src/nvim/ops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c index 17183bd350..bcdc79be72 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -4241,14 +4241,14 @@ int do_addsub(int command, linenr_T Prenum1) */ col = curwin->w_cursor.col; if (dohex) - while (col > 0 && vim_isxdigit(ptr[col])) + while (col > 0 && ascii_isxdigit(ptr[col])) --col; if ( dohex && col > 0 && (ptr[col] == 'X' || ptr[col] == 'x') && ptr[col - 1] == '0' - && vim_isxdigit(ptr[col + 1])) { + && ascii_isxdigit(ptr[col + 1])) { /* * Found hexadecimal number, move to its start. */ |