Skip to content
Snippets Groups Projects
Commit 9db12933 authored by Bram Moolenaar's avatar Bram Moolenaar
Browse files

updated for version 7.4.059

Problem:    set_last_cursor() may encounter w_buffer being NULL.  (Matt
            Mkaniaris)
Solution:   Check for NULL.
parent 92c2db8b
No related branches found
Tags v7.4.065
No related merge requests found
......@@ -1374,7 +1374,8 @@ free_jumplist(wp)
set_last_cursor(win)
win_T *win;
{
win->w_buffer->b_last_cursor = win->w_cursor;
if (win->w_buffer != NULL)
win->w_buffer->b_last_cursor = win->w_cursor;
}
#if defined(EXITFREE) || defined(PROTO)
......
......@@ -738,6 +738,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
59,
/**/
58,
/**/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment