mirror of
				https://github.com/vim/vim.git
				synced 2025-11-03 09:44:48 -05:00 
			
		
		
		
	patch 8.0.1471: on MS-Windows CursorIM highlighting no longer works
Problem: On MS-Windows CursorIM highlighting no longer works. Solution: Adjust #if statements. (Ken Takata)
This commit is contained in:
		@@ -1137,13 +1137,13 @@ gui_update_cursor(
 | 
			
		||||
	if (id > 0)
 | 
			
		||||
	{
 | 
			
		||||
	    cattr = syn_id2colors(id, &cfg, &cbg);
 | 
			
		||||
#if defined(FEAT_XIM) || defined(FEAT_HANGULIN)
 | 
			
		||||
#if defined(FEAT_MBYTE) || defined(FEAT_HANGULIN)
 | 
			
		||||
	    {
 | 
			
		||||
		static int iid;
 | 
			
		||||
		guicolor_T fg, bg;
 | 
			
		||||
 | 
			
		||||
		if (
 | 
			
		||||
# if defined(FEAT_GUI_GTK) && !defined(FEAT_HANGULIN)
 | 
			
		||||
# if defined(FEAT_GUI_GTK) && defined(FEAT_XIM) && !defined(FEAT_HANGULIN)
 | 
			
		||||
			preedit_get_status()
 | 
			
		||||
# else
 | 
			
		||||
			im_get_status()
 | 
			
		||||
 
 | 
			
		||||
@@ -771,6 +771,8 @@ static char *(features[]) =
 | 
			
		||||
 | 
			
		||||
static int included_patches[] =
 | 
			
		||||
{   /* Add new patch number below this line */
 | 
			
		||||
/**/
 | 
			
		||||
    1471,
 | 
			
		||||
/**/
 | 
			
		||||
    1470,
 | 
			
		||||
/**/
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user