diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-06-15 15:08:27 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-06-15 15:08:27 +0200 |
commit | a2324373eb1c3f1777bc40cb6dcd5e895a15fe10 (patch) | |
tree | 8b33542779f38ea2f85e815fb0ab46e9e20166d3 /src/version.c | |
parent | ae321b51f7531b23545d64c3a98ed991a31dd5ee (diff) |
patch 9.1.0488: Wrong padding for pum "kind" with 'rightleft'v9.1.0488
Problem: Wrong padding for pum "kind" with 'rightleft'.
Solution: Fix off-by-one error (zeertzjq).
The screen_fill() above is end-exclusive, and
- With 'rightleft' it fills `pum_col - pum_base_width - n + 1` to `col`,
so the next `col` should be `pum_col - pum_base_width - n`.
- With 'norightleft' it fills `col` to `pum_col - pum_base_width + n - 1`,
so the next `col` should be `pum_col - pum_base_width + n`.
closes: #15004
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/version.c')
-rw-r--r-- | src/version.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/version.c b/src/version.c index 1a2f5d75c7..61532287da 100644 --- a/src/version.c +++ b/src/version.c @@ -705,6 +705,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 488, +/**/ 487, /**/ 486, |