Mercurial > vim
view src/proto/gui_xim.pro @ 22196:d835f2fdfcfc v8.2.1647
patch 8.2.1647: Vim9: result of expression with && and || is not a bool
Commit: https://github.com/vim/vim/commit/4ed124cc6c0c55385c3b2fed9f9357baf42edbcc
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Sep 9 20:03:46 2020 +0200
patch 8.2.1647: Vim9: result of expression with && and || is not a bool
Problem: Vim9: result of expression with && and || cannot be assigned to a
bool variable.
Solution: Add the TTFLAG_BOOL_OK flag and convert the value if needed.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 09 Sep 2020 20:15:03 +0200 |
parents | 6c5b11458f31 |
children | 8f17f8f327f3 |
line wrap: on
line source
/* gui_xim.c */ void im_set_active(int active); void xim_set_focus(int focus); void im_set_position(int row, int col); void xim_set_preedit(void); int im_get_feedback_attr(int col); void xim_init(void); void im_shutdown(void); int im_xim_isvalid_imactivate(void); void xim_reset(void); int xim_queue_key_press_event(GdkEventKey *event, int down); int im_get_status(void); int preedit_get_status(void); int im_is_preediting(void); void xim_set_status_area(void); int xim_get_status_area_height(void); /* vim: set ft=c : */