diff options
author | Felipe Oliveira Carvalho <felipekde@gmail.com> | 2015-04-22 19:47:53 -0300 |
---|---|---|
committer | Felipe Oliveira Carvalho <felipekde@gmail.com> | 2015-04-24 20:37:13 -0300 |
commit | caabcae0b7470731e793c199b905bfa1bb696914 (patch) | |
tree | 2015066852ad22ec24353db40d2dc752ccd59ce3 /src/nvim/fileio.c | |
parent | 93bf201119f68b0723ee3f240afa48134cc41399 (diff) | |
download | rneovim-caabcae0b7470731e793c199b905bfa1bb696914.tar.gz rneovim-caabcae0b7470731e793c199b905bfa1bb696914.tar.bz2 rneovim-caabcae0b7470731e793c199b905bfa1bb696914.zip |
Replace VIM_ISDIGIT() and vim_isdigit() with ascii_isdigit() defined in ascii.h
Diffstat (limited to 'src/nvim/fileio.c')
-rw-r--r-- | src/nvim/fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c index bb9db7e6cd..bb4b7a140b 100644 --- a/src/nvim/fileio.c +++ b/src/nvim/fileio.c @@ -2006,7 +2006,7 @@ failed: static int is_dev_fd_file(char_u *fname) { return STRNCMP(fname, "/dev/fd/", 8) == 0 - && VIM_ISDIGIT(fname[8]) + && ascii_isdigit(fname[8]) && *skipdigits(fname + 9) == NUL && (fname[9] != NUL || (fname[8] != '0' && fname[8] != '1' && fname[8] != '2')); |