Replace vim_isspace() with ascii_isspace() defined in ascii.h

This commit is contained in:
Felipe Oliveira Carvalho
2015-04-22 19:50:52 -03:00
parent 2ca8afc74e
commit bcfc37ea98
12 changed files with 26 additions and 28 deletions

View File

@@ -3718,7 +3718,7 @@ static char_u *getargcmd(char_u **argp)
if (*arg == '+') { /* +[command] */
++arg;
if (vim_isspace(*arg) || *arg == '\0')
if (ascii_isspace(*arg) || *arg == '\0')
command = dollar_command;
else {
command = arg;
@@ -3742,7 +3742,7 @@ skip_cmd_arg (
int rembs /* TRUE to halve the number of backslashes */
)
{
while (*p && !vim_isspace(*p)) {
while (*p && !ascii_isspace(*p)) {
if (*p == '\\' && p[1] != NUL) {
if (rembs)
STRMOVE(p, p + 1);