fix tiny glitch when the feed pane is exactly the same size as the window - sfe… | |
git clone git://git.codemadness.org/sfeed_curses | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 3b35fd201979327c13edffcb7f472cadd635bbb5 | |
parent e0bb2c9936288bb9cc1cb09c1b98bd6e3beb5729 | |
Author: Hiltjo Posthuma <[email protected]> | |
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(-) | |
--- | |
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; |