From: Christian Heller Date: Fri, 7 Jun 2013 22:04:32 +0000 (+0200) Subject: Corrected vertical scroll hint counting. X-Git-Tag: tce~1242 X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/add_free?a=commitdiff_plain;h=898e67b7106acf4eb55689c44f67c359616ca39d;p=plomrogue Corrected vertical scroll hint counting. --- diff --git a/windows.c b/windows.c index 47c1a44..099eff5 100644 --- a/windows.c +++ b/windows.c @@ -215,7 +215,7 @@ void draw_all_windows (struct WinMeta * win_meta) { if (win_meta->pad_offset + win_meta->width < getmaxx(win_meta->pad) - 1) for (y = 0; y < win_meta->height; y++) draw_vertical_scroll_hint(win_meta, win_meta->pad_offset + win_meta->width - 1, - getmaxx(win_meta->pad) - (win_meta->pad_offset + win_meta->width + 1), '>'); + getmaxx(win_meta->pad) - (win_meta->pad_offset + win_meta->width), '>'); pnoutrefresh(win_meta->pad, 0, win_meta->pad_offset, 0, 0, win_meta->height, win_meta->width - 1); } doupdate(); }