Mercurial > vim
view src/proto/gui_xim.pro @ 29664:6569c71c5ca5 v9.0.0172
patch 9.0.0172: trying to allocate zero bytes
Commit: https://github.com/vim/vim/commit/1024690c015921b0a458172bc368133f63af1b89
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Aug 8 17:08:05 2022 +0100
patch 9.0.0172: trying to allocate zero bytes
Problem: Trying to allocate zero bytes.
Solution: Do not allocate the proptype array when there are none.
(closes #10867)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 08 Aug 2022 18:15:03 +0200 |
parents | 13ba00ef7687 |
children | 8b15e4161605 |
line wrap: on
line source
/* gui_xim.c */ int set_imactivatefunc_option(void); int set_imstatusfunc_option(void); void free_xim_stuff(void); int set_ref_in_im_funcs(int copyID); 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 : */