mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 15:21:47 +00:00
Remove has_mbyte from lines near changes in parent commit
This commit is contained in:
@@ -1962,12 +1962,10 @@ bool diff_find_change(win_T *wp, linenr_T lnum, int *startp, int *endp)
|
||||
}
|
||||
}
|
||||
|
||||
if (has_mbyte) {
|
||||
// Move back to first byte of character in both lines (may
|
||||
// have "nn^" in line_org and "n^ in line_new).
|
||||
si_org -= utf_head_off(line_org, line_org + si_org);
|
||||
si_new -= utf_head_off(line_new, line_new + si_new);
|
||||
}
|
||||
// Move back to first byte of character in both lines (may
|
||||
// have "nn^" in line_org and "n^ in line_new).
|
||||
si_org -= utf_head_off(line_org, line_org + si_org);
|
||||
si_new -= utf_head_off(line_new, line_new + si_new);
|
||||
|
||||
if (*startp > si_org) {
|
||||
*startp = si_org;
|
||||
|
Reference in New Issue
Block a user