aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/screen.c
diff options
context:
space:
mode:
authorZviRackover <zvirack@gmail.com>2018-09-02 02:14:47 +0300
committerZviRackover <zvirack@gmail.com>2018-09-09 10:45:50 +0300
commit329cfc3303cffd5c9aad7b2ad7f4323354d68b0d (patch)
treee9abce8472ef283396c7830947c56e1d6154ef86 /src/nvim/screen.c
parentac13e65ae0ce98516e816ba4fcf468d19e750c30 (diff)
downloadrneovim-329cfc3303cffd5c9aad7b2ad7f4323354d68b0d.tar.gz
rneovim-329cfc3303cffd5c9aad7b2ad7f4323354d68b0d.tar.bz2
rneovim-329cfc3303cffd5c9aad7b2ad7f4323354d68b0d.zip
lint: clean-up after parent commits
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r--src/nvim/screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c
index 63d8f5d506..69c3d3067d 100644
--- a/src/nvim/screen.c
+++ b/src/nvim/screen.c
@@ -5121,7 +5121,7 @@ win_redr_custom (
/* fill up with "fillchar" */
while (width < maxwidth && len < (int)sizeof(buf) - 1) {
len += utf_char2bytes(fillchar, buf + len);
- ++width;
+ width++;
}
buf[len] = NUL;
@@ -6955,7 +6955,7 @@ static void win_redr_ruler(win_T *wp, int always)
// Need at least 3 chars left for get_rel_pos() + NUL.
while (this_ru_col + o < width && RULER_BUF_LEN > i + 4) {
i += utf_char2bytes(fillchar, buffer + i);
- ++o;
+ o++;
}
get_rel_pos(wp, buffer + i, RULER_BUF_LEN - i);
}