Mercurial > vim
view src/proto/popupmenu.pro @ 31657:4473453c09b1 v9.0.1161
patch 9.0.1161: Coverity warns for using strcpy()
Commit: https://github.com/vim/vim/commit/c8ab30a349ee45ef6c3b6af8ee5ff53d2f7bf891
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 9 11:35:47 2023 +0000
patch 9.0.1161: Coverity warns for using strcpy()
Problem: Coverity warns for using strcpy().
Solution: Call a function to set the function name.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 09 Jan 2023 12:45:05 +0100 |
parents | 7b07f361b1d4 |
children |
line wrap: on
line source
/* popupmenu.c */ void pum_display(pumitem_T *array, int size, int selected); void pum_call_update_screen(void); int pum_under_menu(int row, int col, int only_redrawing); void pum_redraw(void); void pum_position_info_popup(win_T *wp); void pum_undisplay(void); void pum_clear(void); int pum_visible(void); int pum_redraw_in_same_position(void); void pum_may_redraw(void); int pum_get_height(void); void pum_set_event_info(dict_T *dict); int split_message(char_u *mesg, pumitem_T **array); void ui_remove_balloon(void); void ui_post_balloon(char_u *mesg, list_T *list); void ui_may_remove_balloon(void); void pum_show_popupmenu(vimmenu_T *menu); void pum_make_popup(char_u *path_name, int use_mouse_pos); /* vim: set ft=c : */