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/screen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nvim/screen.c') diff --git a/src/nvim/screen.c b/src/nvim/screen.c index acd8e925e0..5c4d08ef83 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -2401,7 +2401,7 @@ win_line ( /* find start of trailing whitespace */ if (wp->w_p_list && lcs_trail) { trailcol = (colnr_T)STRLEN(ptr); - while (trailcol > (colnr_T)0 && vim_iswhite(ptr[trailcol - 1])) + while (trailcol > (colnr_T)0 && ascii_iswhite(ptr[trailcol - 1])) --trailcol; trailcol += (colnr_T) (ptr - line); extra_check = TRUE; @@ -3319,7 +3319,7 @@ win_line ( - vcol % (int)wp->w_buffer->b_p_ts - 1; } c_extra = ' '; - if (vim_iswhite(c)) { + if (ascii_iswhite(c)) { if (c == TAB) /* See "Tab alignment" below. */ FIX_FOR_BOGUSCOLS; -- cgit From caabcae0b7470731e793c199b905bfa1bb696914 Mon Sep 17 00:00:00 2001 From: Felipe Oliveira Carvalho Date: Wed, 22 Apr 2015 19:47:53 -0300 Subject: Replace VIM_ISDIGIT() and vim_isdigit() with ascii_isdigit() defined in ascii.h --- src/nvim/screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/screen.c') diff --git a/src/nvim/screen.c b/src/nvim/screen.c index 5c4d08ef83..c9a2e147dc 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -4977,7 +4977,7 @@ win_redr_custom ( if (*++stl == '-') stl++; if (atoi((char *)stl)) - while (VIM_ISDIGIT(*stl)) + while (ascii_isdigit(*stl)) stl++; if (*stl++ != '(') stl = p_ruf; -- cgit