diff options
Diffstat (limited to 'src/nvim/if_cscope.c')
-rw-r--r-- | src/nvim/if_cscope.c | 4 |
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 |