aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/strings.c
diff options
context:
space:
mode:
authorFelipe Oliveira Carvalho <felipekde@gmail.com>2015-04-22 19:50:52 -0300
committerFelipe Oliveira Carvalho <felipekde@gmail.com>2015-04-24 20:37:13 -0300
commitbcfc37ea98136c449077baa8d97e2334da20d9fc (patch)
treefd409abd34a3e08fcddbbea0c4e07f3ec82c7e23 /src/nvim/strings.c
parent2ca8afc74eada76f50ae60dbb0d6f1804d36bed5 (diff)
downloadrneovim-bcfc37ea98136c449077baa8d97e2334da20d9fc.tar.gz
rneovim-bcfc37ea98136c449077baa8d97e2334da20d9fc.tar.bz2
rneovim-bcfc37ea98136c449077baa8d97e2334da20d9fc.zip
Replace vim_isspace() with ascii_isspace() defined in ascii.h
Diffstat (limited to 'src/nvim/strings.c')
-rw-r--r--src/nvim/strings.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/nvim/strings.c b/src/nvim/strings.c
index a1f5b05a56..de70397c30 100644
--- a/src/nvim/strings.c
+++ b/src/nvim/strings.c
@@ -450,16 +450,6 @@ char_u *vim_strrchr(const char_u *string, int c)
}
/*
- * Vim has its own isspace() function, because on some machines isspace()
- * can't handle characters above 128.
- */
-bool vim_isspace(int x)
- FUNC_ATTR_CONST
-{
- return (x >= 9 && x <= 13) || x == ' ';
-}
-
-/*
* Sort an array of strings.
*/