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