Use bool in do_mouse().

Change the signature of get_mouse_button() for consistency, and because
only do_mouse() uses it.
This commit is contained in:
Scott Prager
2014-07-08 10:15:34 -04:00
parent dc7473c680
commit e1e7dda24d
2 changed files with 49 additions and 49 deletions

View File

@@ -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;