Skip to content

Commit 7683f13

Browse files
committed
Fix merge
1 parent cc8a9dc commit 7683f13

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/MacVim/gui_macvim.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1289,7 +1289,7 @@
12891289

12901290
// -- Input Method ----------------------------------------------------------
12911291

1292-
#if defined(USE_IM_CONTROL)
1292+
#if defined(FEAT_MBYTE)
12931293

12941294
void
12951295
im_set_position(int row, int col)
@@ -1327,7 +1327,7 @@
13271327
return [[MMBackend sharedInstance] imState];
13281328
}
13291329

1330-
#endif // defined(USE_IM_CONTROL)
1330+
#endif // defined(FEAT_MBYTE)
13311331

13321332

13331333

src/option.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ EXTERN int p_icon; /* 'icon' */
591591
EXTERN char_u *p_iconstring; /* 'iconstring' */
592592
#endif
593593
EXTERN int p_ic; /* 'ignorecase' */
594-
#if defined(FEAT_XIM) && defined(FEAT_GUI_GTK)
594+
#if defined(FEAT_XIM) && (defined(FEAT_GUI_GTK) || defined(FEAT_GUI_MACVIM))
595595
EXTERN char_u *p_imak; /* 'imactivatekey' */
596596
#define IM_ON_THE_SPOT 0L
597597
#define IM_OVER_THE_SPOT 1L

0 commit comments

Comments
 (0)