Mercurial > vim
comparison src/mbyte.c @ 17296:49ef396af986 v8.1.1647
patch 8.1.1647: build error with GTK and hangulinput feature
commit https://github.com/vim/vim/commit/d84b2c3d88b08722dd4f686256a22c26788ea122
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 7 19:16:58 2019 +0200
patch 8.1.1647: build error with GTK and hangulinput feature
Problem: Build error with GTK and hangulinput feature, im_get_status()
defined twice. (Dominique Pelle)
Solution: Adjust im_get_status(). (closes #4628)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 07 Jul 2019 19:30:05 +0200 |
parents | b2ebc416491b |
children | 484424955bfa |
comparison
equal
deleted
inserted
replaced
17295:ebb1ab15dc85 | 17296:49ef396af986 |
---|---|
5846 } | 5846 } |
5847 | 5847 |
5848 int | 5848 int |
5849 im_get_status(void) | 5849 im_get_status(void) |
5850 { | 5850 { |
5851 # ifdef FEAT_HANGULIN | |
5852 if (hangul_input_state_get()) | |
5853 return TRUE; | |
5854 # endif | |
5855 | |
5851 # ifdef FEAT_EVAL | 5856 # ifdef FEAT_EVAL |
5852 if (USE_IMSTATUSFUNC) | 5857 if (USE_IMSTATUSFUNC) |
5853 return call_imstatusfunc(); | 5858 return call_imstatusfunc(); |
5854 # endif | 5859 # endif |
5855 return im_is_active; | 5860 return im_is_active; |