aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/input.c
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2023-12-28 13:42:24 +0100
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2023-12-30 12:45:38 +0100
commitc89292fcb7f2ebf06efb7c1d00c28f34c6f68fec (patch)
treeb1257a572495337ca936c47839bb08aa45528c84 /src/nvim/input.c
parentd634cd5b0bc3ac6bdf285432f74a1c10f12b6031 (diff)
downloadrneovim-c89292fcb7f2ebf06efb7c1d00c28f34c6f68fec.tar.gz
rneovim-c89292fcb7f2ebf06efb7c1d00c28f34c6f68fec.tar.bz2
rneovim-c89292fcb7f2ebf06efb7c1d00c28f34c6f68fec.zip
refactor: follow style guide
Diffstat (limited to 'src/nvim/input.c')
-rw-r--r--src/nvim/input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/input.c b/src/nvim/input.c
index 2dfb67acc5..b5080c87a0 100644
--- a/src/nvim/input.c
+++ b/src/nvim/input.c
@@ -158,7 +158,7 @@ int get_keystroke(MultiQueue *events)
/// When "mouse_used" is not NULL allow using the mouse.
///
/// @param colon allow colon to abort
-int get_number(int colon, int *mouse_used)
+int get_number(int colon, bool *mouse_used)
{
int n = 0;
int typed = 0;
@@ -219,7 +219,7 @@ int get_number(int colon, int *mouse_used)
///
/// When "mouse_used" is not NULL allow using the mouse and in that case return
/// the line number.
-int prompt_for_number(int *mouse_used)
+int prompt_for_number(bool *mouse_used)
{
// When using ":silent" assume that <CR> was entered.
if (mouse_used != NULL) {