1
0
mirror of https://github.com/tmux/tmux.git synced 2025-04-07 09:08:53 +00:00

Fix offset of list ranges.

This commit is contained in:
nicm 2019-03-28 22:18:46 +00:00
parent 08bc226527
commit c6c4960b35

View File

@ -86,6 +86,9 @@ format_update_ranges(struct format_ranges *frs, struct screen *s, u_int offset,
continue;
}
fr->start -= start;
fr->end -= start;
fr->start += offset;
fr->end += offset;
}