Merge #6312 from lonerover/vim-7.4.2255

vim-patch: 7.4.2255,7.42256
This commit is contained in:
Justin M. Keyes
2017-03-22 12:32:52 +01:00
committed by GitHub
3 changed files with 61 additions and 24 deletions

View File

@@ -4860,7 +4860,10 @@ static int get_string_tv(char_u **arg, typval_T *rettv, int evaluate)
}
*name = NUL;
*arg = p + 1;
if (*p != NUL) { // just in case
p++;
}
*arg = p;
return OK;
}