diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2014-11-11 12:13:00 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-11-11 12:13:00 -0500 |
commit | b027e1ed0c92ed49961ecbd24228967d916c2bbd (patch) | |
tree | a8acc0594efe3d971cc55f12e6675c68c2fd73ca /src/nvim/ui.c | |
parent | e450c541ddfe1266d3d56b594f83ab197e747584 (diff) | |
parent | 8eddceb14000a33282a493140ef3c008f385a461 (diff) | |
download | rneovim-b027e1ed0c92ed49961ecbd24228967d916c2bbd.tar.gz rneovim-b027e1ed0c92ed49961ecbd24228967d916c2bbd.tar.bz2 rneovim-b027e1ed0c92ed49961ecbd24228967d916c2bbd.zip |
Merge pull request #923 from splinterofchaos/normal-bool
Use bool in normal.h and .c.
Diffstat (limited to 'src/nvim/ui.c')
-rw-r--r-- | src/nvim/ui.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/ui.c b/src/nvim/ui.c index 2c5f7158f6..d6269897d7 100644 --- a/src/nvim/ui.c +++ b/src/nvim/ui.c @@ -307,7 +307,7 @@ int check_row(int row) int jump_to_mouse ( int flags, - int *inclusive, /* used for inclusive operator, can be NULL */ + bool *inclusive, /* used for inclusive operator, can be NULL */ int which_button /* MOUSE_LEFT, MOUSE_RIGHT, MOUSE_MIDDLE */ ) { @@ -575,10 +575,10 @@ retnomove: curwin->w_set_curswant = FALSE; /* May still have been TRUE */ if (coladvance(col) == FAIL) { /* Mouse click beyond end of line */ if (inclusive != NULL) - *inclusive = TRUE; + *inclusive = true; mouse_past_eol = true; } else if (inclusive != NULL) - *inclusive = FALSE; + *inclusive = false; count = IN_BUFFER; if (curwin != old_curwin || curwin->w_cursor.lnum != old_cursor.lnum |