aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/if_cscope.c
diff options
context:
space:
mode:
authorFelipe Oliveira Carvalho <felipekde@gmail.com>2015-04-22 19:47:53 -0300
committerFelipe Oliveira Carvalho <felipekde@gmail.com>2015-04-24 20:37:13 -0300
commitcaabcae0b7470731e793c199b905bfa1bb696914 (patch)
tree2015066852ad22ec24353db40d2dc752ccd59ce3 /src/nvim/if_cscope.c
parent93bf201119f68b0723ee3f240afa48134cc41399 (diff)
downloadrneovim-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/if_cscope.c')
-rw-r--r--src/nvim/if_cscope.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/if_cscope.c b/src/nvim/if_cscope.c
index e25ab89027..bdaf88e574 100644
--- a/src/nvim/if_cscope.c
+++ b/src/nvim/if_cscope.c
@@ -1273,9 +1273,9 @@ static int cs_kill(exarg_T *eap)
}
/* only single digit positive and negative integers are allowed */
- if ((strlen(stok) < 2 && VIM_ISDIGIT((int)(stok[0])))
+ if ((strlen(stok) < 2 && ascii_isdigit((int)(stok[0])))
|| (strlen(stok) < 3 && stok[0] == '-'
- && VIM_ISDIGIT((int)(stok[1]))))
+ && ascii_isdigit((int)(stok[1]))))
i = atoi(stok);
else {
/* It must be part of a name. We will try to find a match