aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/move.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/move.c')
-rw-r--r--src/nvim/move.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/move.c b/src/nvim/move.c
index e74dc32fd4..b749d07d15 100644
--- a/src/nvim/move.c
+++ b/src/nvim/move.c
@@ -780,7 +780,7 @@ void curs_columns(win_T *wp, int may_scroll)
int off_right =
endcol - wp->w_leftcol - wp->w_width_inner + (int)siso + 1;
if (off_left < 0 || off_right > 0) {
- int diff = (off_left < 0) ? -off_left: off_right;
+ int diff = (off_left < 0) ? -off_left : off_right;
// When far off or not enough room on either side, put cursor in
// middle of window.