diff src/gui_xim.c @ 29865:4291eb97e479 v9.0.0271

patch 9.0.0271: using INIT() in non-header files Commit: https://github.com/vim/vim/commit/9b7d2a959646560f5770329f4428c4739eed4656 Author: zeertzjq <zeertzjq@outlook.com> Date: Fri Aug 26 10:33:54 2022 +0100 patch 9.0.0271: using INIT() in non-header files Problem: Using INIT() in non-header files. Solution: Remove INIT(). (closes https://github.com/vim/vim/issues/10981)
author Bram Moolenaar <Bram@vim.org>
date Fri, 26 Aug 2022 11:45:04 +0200
parents 54247d52bee9
children b1c66bff0a66
line wrap: on
line diff
--- a/src/gui_xim.c
+++ b/src/gui_xim.c
@@ -154,7 +154,7 @@ set_ref_in_im_funcs(int copyID UNUSED)
 #if defined(FEAT_XIM) || defined(PROTO)
 
 # if defined(FEAT_GUI_GTK) || defined(PROTO)
-static int xim_has_preediting INIT(= FALSE);  // IM current status
+static int xim_has_preediting = FALSE;  // IM current status
 
 /*
  * Set preedit_start_col to the current cursor position.