diff options
author | Thomas Adam <thomas@xteddy.org> | 2017-05-13 10:01:16 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2017-05-13 10:01:16 +0100 |
commit | 58f8421eacc6e7233849b589fe738d0a4011ba2c (patch) | |
tree | a24124d9e74b91daf3c942f2fbe8a2c5134acdc2 /grid.c | |
parent | ea190d862a7da1ee21e420015790b65099f0cfe7 (diff) | |
parent | 7a4c66b7f5710e92f4af2bdfdb3b88bd64306320 (diff) | |
download | rtmux-58f8421eacc6e7233849b589fe738d0a4011ba2c.tar.gz rtmux-58f8421eacc6e7233849b589fe738d0a4011ba2c.tar.bz2 rtmux-58f8421eacc6e7233849b589fe738d0a4011ba2c.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'grid.c')
-rw-r--r-- | grid.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -286,7 +286,7 @@ grid_clear_history(struct grid *gd) void grid_scroll_history_region(struct grid *gd, u_int upper, u_int lower, u_int bg) { - struct grid_line *gl_history, *gl_upper, *gl_lower; + struct grid_line *gl_history, *gl_upper; u_int yy; /* Create a space for a new line. */ @@ -302,7 +302,6 @@ grid_scroll_history_region(struct grid *gd, u_int upper, u_int lower, u_int bg) upper++; gl_upper = &gd->linedata[upper]; lower++; - gl_lower = &gd->linedata[lower]; /* Move the line into the history. */ memcpy(gl_history, gl_upper, sizeof *gl_history); |