From bcfc37ea98136c449077baa8d97e2334da20d9fc Mon Sep 17 00:00:00 2001 From: Felipe Oliveira Carvalho Date: Wed, 22 Apr 2015 19:50:52 -0300 Subject: Replace vim_isspace() with ascii_isspace() defined in ascii.h --- src/nvim/strings.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/nvim/strings.c') 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 @@ -449,16 +449,6 @@ char_u *vim_strrchr(const char_u *string, int c) return (char_u *) retval; } -/* - * 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. */ -- cgit