vim-patch:8.1.0499: :2vimgrep causes an ml_get error

Problem:    :2vimgrep causes an ml_get error
Solution:   Pass tomatch pointer instead of value. (Yegappan Lakshmanan)
1c29943416
This commit is contained in:
Jan Edmund Lazo
2020-09-13 01:33:53 -04:00
parent cc049a5612
commit 476c50903a
5 changed files with 29 additions and 4 deletions

View File

@@ -1818,6 +1818,7 @@ ml_get_buf (
linenr_T lnum,
bool will_change // line will be changed
)
FUNC_ATTR_NONNULL_ALL
{
bhdr_T *hp;
DATA_BL *dp;