Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam 2016-05-23 22:01:10 +01:00
commit 266918a580

View File

@ -423,10 +423,9 @@ void
window_copy_previous_paragraph(struct window_pane *wp)
{
struct window_copy_mode_data *data = wp->modedata;
u_int ox, oy;
u_int oy;
oy = screen_hsize(data->backing) + data->cy - data->oy;
ox = window_copy_find_length(wp, oy);
while (oy > 0 && window_copy_find_length(wp, oy) == 0)
oy--;