summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean@guyomarch.bzh>2018-02-13 19:31:26 +0100
committerJean Guyomarc'h <jean@guyomarch.bzh>2018-02-13 19:31:26 +0100
commit2afb9d53e47932612549ef76570815edc5496601 (patch)
tree6be48b1a5d0a27762e98aaf9ee258cd57cbbc43b
parent8cbf865d33f4eb618908ed5ca91ed3c7d67eaf8a (diff)
gui: check the arguments passed to gui_die()
This will avoid ugly errors when passing an argument that does not match the string format.
-rw-r--r--src/include/eovim/gui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/eovim/gui.h b/src/include/eovim/gui.h
index 3a1bb26..6c4f8c3 100644
--- a/src/include/eovim/gui.h
+++ b/src/include/eovim/gui.h
@@ -100,7 +100,7 @@ void gui_busy_set(s_gui *gui, Eina_Bool busy);
100void gui_bg_color_set(s_gui *gui, int r, int g, int b, int a); 100void gui_bg_color_set(s_gui *gui, int r, int g, int b, int a);
101void gui_config_show(s_gui *gui); 101void gui_config_show(s_gui *gui);
102void gui_config_hide(s_gui *gui); 102void gui_config_hide(s_gui *gui);
103void gui_die(s_gui *gui, const char *fmt, ...); 103void gui_die(s_gui *gui, const char *fmt, ...) EINA_PRINTF(2, 3);
104 104
105void gui_completion_prepare(s_gui *gui, size_t items, size_t max_word_len, size_t max_menu_len); 105void gui_completion_prepare(s_gui *gui, size_t items, size_t max_word_len, size_t max_menu_len);
106void gui_completion_show(s_gui *gui, int selected, unsigned int x, unsigned int y); 106void gui_completion_show(s_gui *gui, int selected, unsigned int x, unsigned int y);