mirror of
https://github.com/neovim/neovim.git
synced 2025-09-22 11:18:19 +00:00
Remove has_mbytes local to lines changed in parent commit
This commit is contained in:
@@ -6954,10 +6954,7 @@ static void win_redr_ruler(win_T *wp, int always)
|
||||
if (this_ru_col + o < width) {
|
||||
// Need at least 3 chars left for get_rel_pos() + NUL.
|
||||
while (this_ru_col + o < width && RULER_BUF_LEN > i + 4) {
|
||||
if (has_mbyte)
|
||||
i += utf_char2bytes(fillchar, buffer + i);
|
||||
else
|
||||
buffer[i++] = fillchar;
|
||||
i += utf_char2bytes(fillchar, buffer + i);
|
||||
++o;
|
||||
}
|
||||
get_rel_pos(wp, buffer + i, RULER_BUF_LEN - i);
|
||||
|
Reference in New Issue
Block a user