forked from aniani/vim
patch 8.0.1340: MS-Windows: cannot build GUI without IME
Problem: MS-Windows: cannot build GUI without IME. Solution: Define im_get_status() and im_set_active() when IME is not used.
This commit is contained in:
@@ -6473,7 +6473,7 @@ xim_get_status_area_height(void)
|
|||||||
|
|
||||||
#else /* !defined(FEAT_XIM) */
|
#else /* !defined(FEAT_XIM) */
|
||||||
|
|
||||||
# ifndef FEAT_GUI_W32
|
# if !defined(FEAT_GUI_W32) || !(defined(FEAT_MBYTE_IME) || defined(GLOBAL_IME))
|
||||||
static int im_was_set_active = FALSE;
|
static int im_was_set_active = FALSE;
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -6499,6 +6499,13 @@ im_set_active(int active_arg)
|
|||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# ifdef FEAT_GUI
|
||||||
|
void
|
||||||
|
im_set_position(int row, int col)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
# endif
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
#endif /* FEAT_XIM */
|
#endif /* FEAT_XIM */
|
||||||
|
@@ -771,6 +771,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1340,
|
||||||
/**/
|
/**/
|
||||||
1339,
|
1339,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user