Patch 8.0.1340
Problem:    MS-Windows: cannot build GUI without IME.
Solution:   Define im_get_status() and im_set_active() when IME is not used.
Files:      src/mbyte.c


*** ../vim-8.0.1339/src/mbyte.c 2017-11-25 17:14:29.604189538 +0100
--- src/mbyte.c 2017-11-25 17:40:47.575638528 +0100
***************
*** 6473,6479 ****
  
  #else /* !defined(FEAT_XIM) */
  
! # ifndef FEAT_GUI_W32
  static int im_was_set_active = FALSE;
  
      int
--- 6473,6479 ----
  
  #else /* !defined(FEAT_XIM) */
  
! # if !defined(FEAT_GUI_W32) || !(defined(FEAT_MBYTE_IME) || 
defined(GLOBAL_IME))
  static int im_was_set_active = FALSE;
  
      int
***************
*** 6499,6504 ****
--- 6499,6511 ----
      }
  #  endif
  }
+ 
+ #  ifdef FEAT_GUI
+     void
+ im_set_position(int row, int col)
+ {
+ }
+ #  endif
  # endif
  
  #endif /* FEAT_XIM */
*** ../vim-8.0.1339/src/version.c       2017-11-25 17:24:05.638587905 +0100
--- src/version.c       2017-11-25 17:48:15.185564001 +0100
***************
*** 773,774 ****
--- 773,776 ----
  {   /* Add new patch number below this line */
+ /**/
+     1340,
  /**/

-- 
To define recursion, we must first define recursion.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui