Karsten Hopp 26efd1
To: vim_dev@googlegroups.com
Karsten Hopp 26efd1
Subject: Patch 7.4.738
Karsten Hopp 26efd1
Fcc: outbox
Karsten Hopp 26efd1
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 26efd1
Mime-Version: 1.0
Karsten Hopp 26efd1
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 26efd1
Content-Transfer-Encoding: 8bit
Karsten Hopp 26efd1
------------
Karsten Hopp 26efd1
Karsten Hopp 26efd1
Patch 7.4.738 (after 7.4.732)
Karsten Hopp 26efd1
Problem:    Can't compile without the syntax highlighting feature.
Karsten Hopp 26efd1
Solution:   Add #ifdef around use of w_p_cul. (Hirohito Higashi)
Karsten Hopp 26efd1
Files:      src/normal.c, src/screen.c
Karsten Hopp 26efd1
Karsten Hopp 26efd1
Karsten Hopp 26efd1
*** ../vim-7.4.737/src/normal.c	2015-06-09 20:19:57.726732226 +0200
Karsten Hopp 26efd1
--- src/normal.c	2015-06-10 11:48:14.045128971 +0200
Karsten Hopp 26efd1
***************
Karsten Hopp 26efd1
*** 8487,8495 ****
Karsten Hopp 26efd1
--- 8487,8497 ----
Karsten Hopp 26efd1
  	    /* When '#' is in 'cpoptions' ignore the count. */
Karsten Hopp 26efd1
  	    if (vim_strchr(p_cpo, CPO_HASH) != NULL)
Karsten Hopp 26efd1
  		cap->count1 = 1;
Karsten Hopp 26efd1
+ #ifdef FEAT_SYN_HL
Karsten Hopp 26efd1
  	    if (curwin->w_p_cul)
Karsten Hopp 26efd1
  		/* force redraw of cursorline */
Karsten Hopp 26efd1
  		curwin->w_valid &= ~VALID_CROW;
Karsten Hopp 26efd1
+ #endif
Karsten Hopp 26efd1
  	    invoke_edit(cap, FALSE, cap->cmdchar, TRUE);
Karsten Hopp 26efd1
  	}
Karsten Hopp 26efd1
      }
Karsten Hopp 26efd1
*** ../vim-7.4.737/src/screen.c	2015-05-14 05:55:59.138935575 +0200
Karsten Hopp 26efd1
--- src/screen.c	2015-06-10 12:16:28.090798579 +0200
Karsten Hopp 26efd1
***************
Karsten Hopp 26efd1
*** 3750,3773 ****
Karsten Hopp 26efd1
  	    if (draw_state == WL_BRI - 1 && n_extra == 0)
Karsten Hopp 26efd1
  	    {
Karsten Hopp 26efd1
  		draw_state = WL_BRI;
Karsten Hopp 26efd1
- # ifdef FEAT_DIFF
Karsten Hopp 26efd1
- # endif
Karsten Hopp 26efd1
  		if (wp->w_p_bri && n_extra == 0 && row != startrow
Karsten Hopp 26efd1
! #ifdef FEAT_DIFF
Karsten Hopp 26efd1
  			&& filler_lines == 0
Karsten Hopp 26efd1
! #endif
Karsten Hopp 26efd1
  		   )
Karsten Hopp 26efd1
  		{
Karsten Hopp 26efd1
  		    char_attr = 0; /* was: hl_attr(HLF_AT); */
Karsten Hopp 26efd1
! #ifdef FEAT_DIFF
Karsten Hopp 26efd1
  		    if (diff_hlf != (hlf_T)0)
Karsten Hopp 26efd1
  		    {
Karsten Hopp 26efd1
  			char_attr = hl_attr(diff_hlf);
Karsten Hopp 26efd1
  			if (wp->w_p_cul && lnum == wp->w_cursor.lnum)
Karsten Hopp 26efd1
  			    char_attr = hl_combine_attr(char_attr,
Karsten Hopp 26efd1
  							    hl_attr(HLF_CUL));
Karsten Hopp 26efd1
  		    }
Karsten Hopp 26efd1
! #endif
Karsten Hopp 26efd1
  		    p_extra = NULL;
Karsten Hopp 26efd1
  		    c_extra = ' ';
Karsten Hopp 26efd1
  		    n_extra = get_breakindent_win(wp,
Karsten Hopp 26efd1
--- 3750,3773 ----
Karsten Hopp 26efd1
  	    if (draw_state == WL_BRI - 1 && n_extra == 0)
Karsten Hopp 26efd1
  	    {
Karsten Hopp 26efd1
  		draw_state = WL_BRI;
Karsten Hopp 26efd1
  		if (wp->w_p_bri && n_extra == 0 && row != startrow
Karsten Hopp 26efd1
! # ifdef FEAT_DIFF
Karsten Hopp 26efd1
  			&& filler_lines == 0
Karsten Hopp 26efd1
! # endif
Karsten Hopp 26efd1
  		   )
Karsten Hopp 26efd1
  		{
Karsten Hopp 26efd1
  		    char_attr = 0; /* was: hl_attr(HLF_AT); */
Karsten Hopp 26efd1
! # ifdef FEAT_DIFF
Karsten Hopp 26efd1
  		    if (diff_hlf != (hlf_T)0)
Karsten Hopp 26efd1
  		    {
Karsten Hopp 26efd1
  			char_attr = hl_attr(diff_hlf);
Karsten Hopp 26efd1
+ #  ifdef FEAT_SYN_HL
Karsten Hopp 26efd1
  			if (wp->w_p_cul && lnum == wp->w_cursor.lnum)
Karsten Hopp 26efd1
  			    char_attr = hl_combine_attr(char_attr,
Karsten Hopp 26efd1
  							    hl_attr(HLF_CUL));
Karsten Hopp 26efd1
+ #  endif
Karsten Hopp 26efd1
  		    }
Karsten Hopp 26efd1
! # endif
Karsten Hopp 26efd1
  		    p_extra = NULL;
Karsten Hopp 26efd1
  		    c_extra = ' ';
Karsten Hopp 26efd1
  		    n_extra = get_breakindent_win(wp,
Karsten Hopp 26efd1
*** ../vim-7.4.737/src/version.c	2015-06-09 21:33:24.819610622 +0200
Karsten Hopp 26efd1
--- src/version.c	2015-06-10 11:49:51.336075815 +0200
Karsten Hopp 26efd1
***************
Karsten Hopp 26efd1
*** 743,744 ****
Karsten Hopp 26efd1
--- 743,746 ----
Karsten Hopp 26efd1
  {   /* Add new patch number below this line */
Karsten Hopp 26efd1
+ /**/
Karsten Hopp 26efd1
+     738,
Karsten Hopp 26efd1
  /**/
Karsten Hopp 26efd1
Karsten Hopp 26efd1
-- 
Karsten Hopp 26efd1
From "know your smileys":
Karsten Hopp 26efd1
 :-&	Eating spaghetti
Karsten Hopp 26efd1
Karsten Hopp 26efd1
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 26efd1
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 26efd1
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 26efd1
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///