commit d6695891572e06cae40d89068aaa598b0b049019
parent 5fc561e35e03d33bc40f173c9c5e8225c3de7384
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 27 Jun 2020 21:45:24 +0200
if the same feed is set then reopen its `fp` if needed
Fixes a regression in opening the same feed.
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/sfeed_curses.c b/sfeed_curses.c
@@ -990,9 +990,6 @@ feed_count(struct feed *f, FILE *fp)
void
feeds_set(struct feed *f)
{
- if (f == curfeed)
- return;
-
if (curfeed) {
if (curfeed->path && curfeed->fp) {
fclose(curfeed->fp);