vim-patch:8.1.0779: argument for message functions is inconsistent

Problem:    Argument for message functions is inconsistent.
Solution:   Make first argument to msg() "char *".
32526b3c18
This commit is contained in:
James McCoy
2021-10-23 16:04:37 -04:00
parent efa924f66b
commit e6ff154be6
39 changed files with 485 additions and 508 deletions

View File

@@ -519,10 +519,10 @@ static void nlua_print_event(void **argv)
}
break;
}
msg((char_u *)str + start);
msg(str + start);
}
if (len && str[len - 1] == NUL) { // Last was newline
msg((char_u *)"");
msg("");
}
xfree(str);
}