mirror of
https://github.com/tmux/tmux.git
synced 2025-04-21 03:48:47 +00:00
Fix offset of list ranges.
This commit is contained in:
parent
08bc226527
commit
c6c4960b35
@ -86,6 +86,9 @@ format_update_ranges(struct format_ranges *frs, struct screen *s, u_int offset,
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fr->start -= start;
|
||||||
|
fr->end -= start;
|
||||||
|
|
||||||
fr->start += offset;
|
fr->start += offset;
|
||||||
fr->end += offset;
|
fr->end += offset;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user