aboutsummaryrefslogtreecommitdiff
path: root/grid-view.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-08-30 20:01:11 +0100
committerThomas Adam <thomas@xteddy.org>2017-08-30 20:01:11 +0100
commitf81e87f1e21f18a4d8fc01d33acb2fd86ae9f1bc (patch)
treee17a17df39552b588e3f9a49ef671f3fac96cc71 /grid-view.c
parentb4c633cc40cd3d5963e24e6d560bc2c7f6553000 (diff)
parent6abfd9b8ff344a684740452f16ddeaffb1df7d12 (diff)
downloadrtmux-f81e87f1e21f18a4d8fc01d33acb2fd86ae9f1bc.tar.gz
rtmux-f81e87f1e21f18a4d8fc01d33acb2fd86ae9f1bc.tar.bz2
rtmux-f81e87f1e21f18a4d8fc01d33acb2fd86ae9f1bc.zip
Merge branch 'obsd-master'
Diffstat (limited to 'grid-view.c')
-rw-r--r--grid-view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/grid-view.c b/grid-view.c
index 033ec033..1bb77317 100644
--- a/grid-view.c
+++ b/grid-view.c
@@ -75,7 +75,7 @@ grid_view_clear_history(struct grid *gd, u_int bg)
/* Scroll the lines into the history. */
for (yy = 0; yy < last; yy++) {
- grid_collect_history(gd, bg);
+ grid_collect_history(gd);
grid_scroll_history(gd, bg);
}
if (last < gd->sy)
@@ -100,7 +100,7 @@ grid_view_scroll_region_up(struct grid *gd, u_int rupper, u_int rlower,
u_int bg)
{
if (gd->flags & GRID_HISTORY) {
- grid_collect_history(gd, bg);
+ grid_collect_history(gd);
if (rupper == 0 && rlower == gd->sy - 1)
grid_scroll_history(gd, bg);
else {