home · contact · privacy
Corrected vertical scroll hint counting.
authorChristian Heller <c.heller@plomlompom.de>
Fri, 7 Jun 2013 22:04:32 +0000 (00:04 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Fri, 7 Jun 2013 22:04:32 +0000 (00:04 +0200)
windows.c

index 47c1a44b9d1f8950b286f23a4ad2d0f0f1f34c1e..099eff58c0626861ac4419f47756c610f8beccaf 100644 (file)
--- 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(); }