aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2019-07-19 09:12:58 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2019-07-19 15:57:19 +0200
commitaa28e070e9f953c26405d765addd9f780ede2c5a (patch)
tree0f209d5c07812b2617a2ead59ae58cf564d62c35 /src/nvim/main.c
parent75928101f84526d92f3a38b175cdd71820526e49 (diff)
downloadrneovim-aa28e070e9f953c26405d765addd9f780ede2c5a.tar.gz
rneovim-aa28e070e9f953c26405d765addd9f780ede2c5a.tar.bz2
rneovim-aa28e070e9f953c26405d765addd9f780ede2c5a.zip
refactor: use int for Columns and Rows
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r--src/nvim/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index b3654a0690..b2f068cb51 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -589,8 +589,8 @@ void getout(int exitval)
set_vim_var_nr(VV_EXITING, exitval);
- /* Position the cursor on the last screen line, below all the text */
- ui_cursor_goto((int)Rows - 1, 0);
+ // Position the cursor on the last screen line, below all the text
+ ui_cursor_goto(Rows - 1, 0);
/* Optionally print hashtable efficiency. */
hash_debug_results();
@@ -656,8 +656,8 @@ void getout(int exitval)
wait_return(FALSE);
}
- /* Position the cursor again, the autocommands may have moved it */
- ui_cursor_goto((int)Rows - 1, 0);
+ // Position the cursor again, the autocommands may have moved it
+ ui_cursor_goto(Rows - 1, 0);
// Apply 'titleold'.
if (p_title && *p_titleold != NUL) {