comparison src/mbyte.c @ 12928:75ffa8ee989c v8.0.1340

patch 8.0.1340: MS-Windows: cannot build GUI without IME commit https://github.com/vim/vim/commit/281c93e7140ba87552c4edcbfdaaa5e25dc6a97a Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 25 17:48:33 2017 +0100 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.
author Christian Brabandt <cb@256bit.org>
date Sat, 25 Nov 2017 18:00:04 +0100
parents 85a601f985ab
children fe5e4fec0d41
comparison
equal deleted inserted replaced
12927:43d31368dd38 12928:75ffa8ee989c
6471 } 6471 }
6472 # endif 6472 # endif
6473 6473
6474 #else /* !defined(FEAT_XIM) */ 6474 #else /* !defined(FEAT_XIM) */
6475 6475
6476 # ifndef FEAT_GUI_W32 6476 # if !defined(FEAT_GUI_W32) || !(defined(FEAT_MBYTE_IME) || defined(GLOBAL_IME))
6477 static int im_was_set_active = FALSE; 6477 static int im_was_set_active = FALSE;
6478 6478
6479 int 6479 int
6480 im_get_status() 6480 im_get_status()
6481 { 6481 {
6497 call_imactivatefunc(active); 6497 call_imactivatefunc(active);
6498 im_was_set_active = active; 6498 im_was_set_active = active;
6499 } 6499 }
6500 # endif 6500 # endif
6501 } 6501 }
6502
6503 # ifdef FEAT_GUI
6504 void
6505 im_set_position(int row, int col)
6506 {
6507 }
6508 # endif
6502 # endif 6509 # endif
6503 6510
6504 #endif /* FEAT_XIM */ 6511 #endif /* FEAT_XIM */
6505 6512
6506 #if defined(FEAT_MBYTE) || defined(PROTO) 6513 #if defined(FEAT_MBYTE) || defined(PROTO)