From 93bf201119f68b0723ee3f240afa48134cc41399 Mon Sep 17 00:00:00 2001 From: Felipe Oliveira Carvalho Date: Wed, 22 Apr 2015 19:12:26 -0300 Subject: Replace vim_iswhite with ascii_iswhite() defined in ascii.h --- src/nvim/strings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/strings.c') diff --git a/src/nvim/strings.c b/src/nvim/strings.c index 4e70f48860..a1f5b05a56 100644 --- a/src/nvim/strings.c +++ b/src/nvim/strings.c @@ -295,7 +295,7 @@ void del_trailing_spaces(char_u *ptr) char_u *q; q = ptr + STRLEN(ptr); - while (--q > ptr && vim_iswhite(q[0]) && q[-1] != '\\' && q[-1] != Ctrl_V) + while (--q > ptr && ascii_iswhite(q[0]) && q[-1] != '\\' && q[-1] != Ctrl_V) *q = NUL; } -- cgit