Karsten Hopp 717dfd
To: vim_dev@googlegroups.com
Karsten Hopp 717dfd
Subject: Patch 7.3.783
Karsten Hopp 717dfd
Fcc: outbox
Karsten Hopp 717dfd
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 717dfd
Mime-Version: 1.0
Karsten Hopp 717dfd
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 717dfd
Content-Transfer-Encoding: 8bit
Karsten Hopp 717dfd
------------
Karsten Hopp 717dfd
Karsten Hopp 717dfd
Patch 7.3.783
Karsten Hopp 717dfd
Problem:    Crash when mark is not set. (Dominique Pelle)
Karsten Hopp 717dfd
Solution:   Check for NULL.
Karsten Hopp 717dfd
Files:	    src/normal.c
Karsten Hopp 717dfd
Karsten Hopp 717dfd
Karsten Hopp 717dfd
*** ../vim-7.3.782/src/normal.c	2013-01-17 13:24:00.000000000 +0100
Karsten Hopp 717dfd
--- src/normal.c	2013-01-24 20:57:53.000000000 +0100
Karsten Hopp 717dfd
***************
Karsten Hopp 717dfd
*** 7552,7557 ****
Karsten Hopp 717dfd
--- 7552,7558 ----
Karsten Hopp 717dfd
  #endif
Karsten Hopp 717dfd
  #ifdef FEAT_FOLDING
Karsten Hopp 717dfd
      if (cap->oap->op_type == OP_NOP
Karsten Hopp 717dfd
+ 	    && pos != NULL
Karsten Hopp 717dfd
  	    && (pos == (pos_T *)-1 || !equalpos(old_cursor, *pos))
Karsten Hopp 717dfd
  	    && (fdo_flags & FDO_MARK)
Karsten Hopp 717dfd
  	    && old_KeyTyped)
Karsten Hopp 717dfd
*** ../vim-7.3.782/src/version.c	2013-01-23 18:37:31.000000000 +0100
Karsten Hopp 717dfd
--- src/version.c	2013-01-24 20:58:36.000000000 +0100
Karsten Hopp 717dfd
***************
Karsten Hopp 717dfd
*** 727,728 ****
Karsten Hopp 717dfd
--- 727,730 ----
Karsten Hopp 717dfd
  {   /* Add new patch number below this line */
Karsten Hopp 717dfd
+ /**/
Karsten Hopp 717dfd
+     783,
Karsten Hopp 717dfd
  /**/
Karsten Hopp 717dfd
Karsten Hopp 717dfd
-- 
Karsten Hopp 717dfd
Shit makes the flowers grow and that's beautiful
Karsten Hopp 717dfd
Karsten Hopp 717dfd
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 717dfd
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 717dfd
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 717dfd
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///