Skip to content

Commit 281c93e

Browse files
committed
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.
1 parent 83799a7 commit 281c93e

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

src/mbyte.c

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6473,7 +6473,7 @@ xim_get_status_area_height(void)
64736473

64746474
#else /* !defined(FEAT_XIM) */
64756475

6476-
# ifndef FEAT_GUI_W32
6476+
# if !defined(FEAT_GUI_W32) || !(defined(FEAT_MBYTE_IME) || defined(GLOBAL_IME))
64776477
static int im_was_set_active = FALSE;
64786478

64796479
int
@@ -6499,6 +6499,13 @@ im_set_active(int active_arg)
64996499
}
65006500
# endif
65016501
}
6502+
6503+
# ifdef FEAT_GUI
6504+
void
6505+
im_set_position(int row, int col)
6506+
{
6507+
}
6508+
# endif
65026509
# endif
65036510

65046511
#endif /* FEAT_XIM */

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,8 @@ static char *(features[]) =
771771

772772
static int included_patches[] =
773773
{ /* Add new patch number below this line */
774+
/**/
775+
1340,
774776
/**/
775777
1339,
776778
/**/

0 commit comments

Comments
 (0)