fix tiny glitch when the feed pane is exactly the same size as the window - sfeed_curses - sfeed curses UI (now part of sfeed, development is in sfeed)
(HTM) git clone git://git.codemadness.org/sfeed_curses
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 3b35fd201979327c13edffcb7f472cadd635bbb5
(DIR) parent e0bb2c9936288bb9cc1cb09c1b98bd6e3beb5729
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 10 Feb 2021 17:35:00 +0100
fix tiny glitch when the feed pane is exactly the same size as the window
Diffstat:
M sfeed_curses.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/sfeed_curses.c b/sfeed_curses.c
@@ -852,7 +852,7 @@ updategeom(void)
int w, x;
panes[PaneFeeds].width = getsidebarwidth();
- if (win.width && panes[PaneFeeds].width > win.width)
+ if (win.width && panes[PaneFeeds].width >= win.width)
panes[PaneFeeds].width = win.width - 1;
panes[PaneFeeds].x = 0;
panes[PaneFeeds].y = 0;