0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.2573: Vim9: using inalid pointer for error message

Problem:    Vim9: using inalid pointer for error message.
Solution:   Use the right pointer. (closes #7921)
This commit is contained in:
Bram Moolenaar
2021-03-06 18:18:19 +01:00
parent 18062fcad6
commit a974953443
3 changed files with 14 additions and 1 deletions

View File

@@ -3130,7 +3130,7 @@ eval6(
*/
if (evaluate && in_vim9script() && !IS_WHITE_OR_NUL((*arg)[1]))
{
error_white_both(p, 1);
error_white_both(*arg, 1);
clear_tv(rettv);
return FAIL;
}