Mercurial > vim
comparison src/mbyte.c @ 18671:df141c730008 v8.1.2327
patch 8.1.2327: cannot build with Hangul input
Commit: https://github.com/vim/vim/commit/546125869f2959480c9a0f6c448c2092d565ec15
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 21 17:13:31 2019 +0100
patch 8.1.2327: cannot build with Hangul input
Problem: Cannot build with Hangul input.
Solution: Remove Hangul input support.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 21 Nov 2019 17:15:04 +0100 |
parents | d1e77015f60b |
children | e9b2ade1adbd |
comparison
equal
deleted
inserted
replaced
18670:4658aa8e09fc | 18671:df141c730008 |
---|---|
4250 * Caller must make sure "row" and "col" are not invalid! | 4250 * Caller must make sure "row" and "col" are not invalid! |
4251 */ | 4251 */ |
4252 int | 4252 int |
4253 mb_lefthalve(int row, int col) | 4253 mb_lefthalve(int row, int col) |
4254 { | 4254 { |
4255 #ifdef FEAT_HANGULIN | |
4256 if (composing_hangul) | |
4257 return TRUE; | |
4258 #endif | |
4259 return (*mb_off2cells)(LineOffset[row] + col, | 4255 return (*mb_off2cells)(LineOffset[row] + col, |
4260 LineOffset[row] + screen_Columns) > 1; | 4256 LineOffset[row] + screen_Columns) > 1; |
4261 } | 4257 } |
4262 | 4258 |
4263 /* | 4259 /* |
5853 } | 5849 } |
5854 | 5850 |
5855 int | 5851 int |
5856 im_get_status(void) | 5852 im_get_status(void) |
5857 { | 5853 { |
5858 # ifdef FEAT_HANGULIN | |
5859 if (hangul_input_state_get()) | |
5860 return TRUE; | |
5861 # endif | |
5862 | |
5863 # ifdef FEAT_EVAL | 5854 # ifdef FEAT_EVAL |
5864 if (USE_IMSTATUSFUNC) | 5855 if (USE_IMSTATUSFUNC) |
5865 return call_imstatusfunc(); | 5856 return call_imstatusfunc(); |
5866 # endif | 5857 # endif |
5867 return im_is_active; | 5858 return im_is_active; |