diff options
author | Scott Prager <splinterofchaos@gmail.com> | 2014-07-08 10:15:34 -0400 |
---|---|---|
committer | Scott Prager <splinterofchaos@gmail.com> | 2014-11-11 11:34:58 -0500 |
commit | e1e7dda24d4103c4d755430e77bc49fb5a6f99be (patch) | |
tree | e969fae6e7f97849fe60320690c50d3ea9c3afed /src/nvim/keymap.c | |
parent | dc7473c680b8ea2bb2c874c4166fda8835772232 (diff) | |
download | rneovim-e1e7dda24d4103c4d755430e77bc49fb5a6f99be.tar.gz rneovim-e1e7dda24d4103c4d755430e77bc49fb5a6f99be.tar.bz2 rneovim-e1e7dda24d4103c4d755430e77bc49fb5a6f99be.zip |
Use bool in do_mouse().
Change the signature of get_mouse_button() for consistency, and because
only do_mouse() uses it.
Diffstat (limited to 'src/nvim/keymap.c')
-rw-r--r-- | src/nvim/keymap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/keymap.c b/src/nvim/keymap.c index 963729215b..45977b96ae 100644 --- a/src/nvim/keymap.c +++ b/src/nvim/keymap.c @@ -740,7 +740,7 @@ char_u *get_key_name(int i) * Look up the given mouse code to return the relevant information in the other * arguments. Return which button is down or was released. */ -int get_mouse_button(int code, int *is_click, int *is_drag) +int get_mouse_button(int code, bool *is_click, bool *is_drag) { int i; |