|
|
3ef2ca |
To: vim_dev@googlegroups.com
|
|
|
3ef2ca |
Subject: Patch 7.4.059
|
|
|
3ef2ca |
Fcc: outbox
|
|
|
3ef2ca |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
|
3ef2ca |
Mime-Version: 1.0
|
|
|
3ef2ca |
Content-Type: text/plain; charset=UTF-8
|
|
|
3ef2ca |
Content-Transfer-Encoding: 8bit
|
|
|
3ef2ca |
------------
|
|
|
3ef2ca |
|
|
|
3ef2ca |
Patch 7.4.059
|
|
|
3ef2ca |
Problem: set_last_cursor() may encounter w_buffer being NULL. (Matt
|
|
|
3ef2ca |
Mkaniaris)
|
|
|
3ef2ca |
Solution: Check for NULL.
|
|
|
3ef2ca |
Files: src/mark.c
|
|
|
3ef2ca |
|
|
|
3ef2ca |
|
|
|
3ef2ca |
*** ../vim-7.4.058/src/mark.c 2013-08-02 17:22:10.000000000 +0200
|
|
|
3ef2ca |
--- src/mark.c 2013-11-03 00:18:35.000000000 +0100
|
|
|
3ef2ca |
***************
|
|
|
3ef2ca |
*** 1374,1380 ****
|
|
|
3ef2ca |
set_last_cursor(win)
|
|
|
3ef2ca |
win_T *win;
|
|
|
3ef2ca |
{
|
|
|
3ef2ca |
! win->w_buffer->b_last_cursor = win->w_cursor;
|
|
|
3ef2ca |
}
|
|
|
3ef2ca |
|
|
|
3ef2ca |
#if defined(EXITFREE) || defined(PROTO)
|
|
|
3ef2ca |
--- 1374,1381 ----
|
|
|
3ef2ca |
set_last_cursor(win)
|
|
|
3ef2ca |
win_T *win;
|
|
|
3ef2ca |
{
|
|
|
3ef2ca |
! if (win->w_buffer != NULL)
|
|
|
3ef2ca |
! win->w_buffer->b_last_cursor = win->w_cursor;
|
|
|
3ef2ca |
}
|
|
|
3ef2ca |
|
|
|
3ef2ca |
#if defined(EXITFREE) || defined(PROTO)
|
|
|
3ef2ca |
*** ../vim-7.4.058/src/version.c 2013-11-02 23:59:30.000000000 +0100
|
|
|
3ef2ca |
--- src/version.c 2013-11-03 00:17:55.000000000 +0100
|
|
|
3ef2ca |
***************
|
|
|
3ef2ca |
*** 740,741 ****
|
|
|
3ef2ca |
--- 740,743 ----
|
|
|
3ef2ca |
{ /* Add new patch number below this line */
|
|
|
3ef2ca |
+ /**/
|
|
|
3ef2ca |
+ 59,
|
|
|
3ef2ca |
/**/
|
|
|
3ef2ca |
|
|
|
3ef2ca |
--
|
|
|
3ef2ca |
How do you know when you have run out of invisible ink?
|
|
|
3ef2ca |
|
|
|
3ef2ca |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
|
3ef2ca |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
|
3ef2ca |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
|
3ef2ca |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|