sfeed_curses

[fork] sfeed (atom feed) reader
Log | Files | Refs | README | LICENSE

commit 69ab88ccd41b6ecccee54cef47feacfb3070bcc2
parent 00997fee1062058ff6cdc4a3d096d010213c71c5
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Wed, 22 Jul 2020 11:22:14 +0200

minor style/consistency: improve comment and reorder updatetitle() call

Diffstat:
Msfeed_curses.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sfeed_curses.c b/sfeed_curses.c @@ -776,7 +776,7 @@ updategeom(void) panes[PaneFeeds].y = 0; panes[PaneFeeds].height = win.height - 1; /* space for statusbar */ - /* NOTE: updatesidebar() must happen before updategeometry for the + /* NOTE: updatesidebar() must happen before this function for the remaining width */ if (!panes[PaneFeeds].hidden) { w = win.width - panes[PaneFeeds].width; @@ -1711,8 +1711,8 @@ main(int argc, char *argv[]) if ((devnullfd = open("/dev/null", O_WRONLY)) < 0) err(1, "open: /dev/null"); - updatetitle(); updatesidebar(onlynew); + updatetitle(); init(); draw();