aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/move.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2021-09-26 02:16:04 +0200
committerGitHub <noreply@github.com>2021-09-25 17:16:04 -0700
commit2f9b9e61d7417183f2d9f36d804247c0926be9d4 (patch)
treed8cef2aec47839d3e1c243fe64613dcc3394c900 /src/nvim/move.c
parent05d685be5244ec9f0a8bc042154d0da3449ba2f3 (diff)
downloadrneovim-2f9b9e61d7417183f2d9f36d804247c0926be9d4.tar.gz
rneovim-2f9b9e61d7417183f2d9f36d804247c0926be9d4.tar.bz2
rneovim-2f9b9e61d7417183f2d9f36d804247c0926be9d4.zip
refactor: format with uncrustify #15778
* fixup: force exactly one whitespace between type and variable
Diffstat (limited to 'src/nvim/move.c')
-rw-r--r--src/nvim/move.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/move.c b/src/nvim/move.c
index 3a5b2fb211..2f64f9ab29 100644
--- a/src/nvim/move.c
+++ b/src/nvim/move.c
@@ -992,7 +992,7 @@ void textpos2screenpos(win_T *wp, pos_T *pos, int *rowp, int *scolp, int *ccolp,
if ((local && existing_row) || visible_row) {
colnr_T off;
colnr_T col;
- int width;
+ int width;
getvcol(wp, pos, &scol, &ccol, &ecol);
@@ -1531,10 +1531,10 @@ void scroll_cursor_bot(int min_scroll, int set_topbot)
lineoff_T boff;
int fill_below_window;
linenr_T old_topline = curwin->w_topline;
- int old_topfill = curwin->w_topfill;
+ int old_topfill = curwin->w_topfill;
linenr_T old_botline = curwin->w_botline;
- int old_valid = curwin->w_valid;
- int old_empty_rows = curwin->w_empty_rows;
+ int old_valid = curwin->w_valid;
+ int old_empty_rows = curwin->w_empty_rows;
linenr_T cln = curwin->w_cursor.lnum; // Cursor Line Number
long so = get_scrolloff_value(curwin);