comparison src/mbyte.c @ 2988:25be7c9dda54 v7.3.266

updated for version 7.3.266 Problem: In Gvim with iBus typing space in Insert mode doesn't work. Solution: Clear xim_expected_char after checking it.
author Bram Moolenaar <bram@vim.org>
date Wed, 27 Jul 2011 18:25:44 +0200
parents c21429d7768c
children 7d4e5e31d8c1
comparison
equal deleted inserted replaced
2987:b38da864b9a2 2988:25be7c9dda54
5168 * ignore it so we can use the keypad key 'raw', for mappings. */ 5168 * ignore it so we can use the keypad key 'raw', for mappings. */
5169 if (xim_expected_char != NUL && xim_ignored_char) 5169 if (xim_expected_char != NUL && xim_ignored_char)
5170 /* We had a keypad key, and XIM tried to thieve it */ 5170 /* We had a keypad key, and XIM tried to thieve it */
5171 return FALSE; 5171 return FALSE;
5172 5172
5173 /* This is supposed to fix a problem with iBus, that space
5174 * characters don't work in input mode. */
5175 xim_expected_char = NUL;
5176
5173 /* Normal processing */ 5177 /* Normal processing */
5174 return imresult; 5178 return imresult;
5175 } 5179 }
5176 } 5180 }
5177 5181