summaryrefslogtreecommitdiff
path: root/src/mbyte.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-07-07 19:16:58 +0200
committerBram Moolenaar <Bram@vim.org>2019-07-07 19:16:58 +0200
commitd84b2c3d88b08722dd4f686256a22c26788ea122 (patch)
tree97755634395f3656468ea932ff67412407cc2483 /src/mbyte.c
parent56a63120992cc3e1f50d654a3f8aeace40bf12ef (diff)
downloadvim-git-d84b2c3d88b08722dd4f686256a22c26788ea122.tar.gz
patch 8.1.1647: build error with GTK and hangulinput featurev8.1.1647
Problem: Build error with GTK and hangulinput feature, im_get_status() defined twice. (Dominique Pelle) Solution: Adjust im_get_status(). (closes #4628)
Diffstat (limited to 'src/mbyte.c')
-rw-r--r--src/mbyte.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mbyte.c b/src/mbyte.c
index 9c03f08d8..94adddf7e 100644
--- a/src/mbyte.c
+++ b/src/mbyte.c
@@ -5848,6 +5848,11 @@ xim_queue_key_press_event(GdkEventKey *event, int down)
int
im_get_status(void)
{
+# ifdef FEAT_HANGULIN
+ if (hangul_input_state_get())
+ return TRUE;
+# endif
+
# ifdef FEAT_EVAL
if (USE_IMSTATUSFUNC)
return call_imstatusfunc();