diff options
author | Thomas Adam <thomas@xteddy.org> | 2020-04-18 12:01:31 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2020-04-18 12:01:31 +0100 |
commit | d55510ebc8b44fa8784fd6257831c82841afd52f (patch) | |
tree | 2ffb54ad25c7b736fef6fd7d5f84a4b838995a50 /format.c | |
parent | 94c90385d2e728a4d37a25ce78b55b2ffeb429f9 (diff) | |
parent | c87595326c69b3a82175268136f901199ff3cead (diff) | |
download | rtmux-d55510ebc8b44fa8784fd6257831c82841afd52f.tar.gz rtmux-d55510ebc8b44fa8784fd6257831c82841afd52f.tar.bz2 rtmux-d55510ebc8b44fa8784fd6257831c82841afd52f.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'format.c')
-rw-r--r-- | format.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -977,7 +977,7 @@ format_grid_word(struct grid *gd, u_int x, u_int y) if (x == 0) { if (y == 0) break; - gl = &gd->linedata[y - 1]; + gl = grid_peek_line(gd, y - 1); if (~gl->flags & GRID_LINE_WRAPPED) break; y--; @@ -993,7 +993,7 @@ format_grid_word(struct grid *gd, u_int x, u_int y) if (end == 0 || x == end - 1) { if (y == gd->hsize + gd->sy - 1) break; - gl = &gd->linedata[y]; + gl = grid_peek_line(gd, y); if (~gl->flags & GRID_LINE_WRAPPED) break; y++; |