commit 5f2bf1c891edc50ffb76a44d993ec83600c91727
parent 3fea8cc43e877f56f6aced04dc78b14730634f3e
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 2 Oct 2020 13:45:28 +0200
sfeed_curses: fix regression which ignored reading $SFEED_MARK_{READ,UNREAD}
Regression by a code-style cleanup commit oversight in commit
2c120da6a49bb47999d4b37a327fcb234a70f9a2
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sfeed_curses.c b/sfeed_curses.c
@@ -1731,9 +1731,9 @@ main(int argc, char *argv[])
if ((tmp = getenv("SFEED_YANKER")))
yankercmd = tmp;
if ((tmp = getenv("SFEED_MARK_READ")))
- markreadcmd = "sfeed_markread read";
+ markreadcmd = tmp;
if ((tmp = getenv("SFEED_MARK_UNREAD")))
- markunreadcmd = "sfeed_markread unread";
+ markunreadcmd = tmp;
urlfile = getenv("SFEED_URL_FILE");
panes[PaneFeeds].row_format = feed_row_format;