sfeed

Simple RSS and Atom feed parser
git clone https://git.sinitax.com/codemadness/sfeed
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit dbb7f7b66d2d10a4bf14a404b66fa20cbf8a02ca
parent f83f6cd4dc21664721602ceb449631957e941215
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri,  3 Feb 2023 16:15:35 +0100

fix comment for ASCII symbols for dumb terminals

This was a copy-pasta.

Diffstat:
Msfeed_curses.c | 6+++---
Mutil.h | 4++--
2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/sfeed_curses.c b/sfeed_curses.c @@ -37,10 +37,10 @@ #define LINEBAR_SYMBOL_BAR "\xe2\x94\x80" /* symbol: "light horizontal" */ #define LINEBAR_SYMBOL_RIGHT "\xe2\x94\xa4" /* symbol: "light vertical and left" */ #else -#define SCROLLBAR_SYMBOL_BAR "|" /* symbol: "light vertical" */ +#define SCROLLBAR_SYMBOL_BAR "|" #define SCROLLBAR_SYMBOL_TICK " " -#define LINEBAR_SYMBOL_BAR "-" /* symbol: "light horizontal" */ -#define LINEBAR_SYMBOL_RIGHT "|" /* symbol: "light vertical and left" */ +#define LINEBAR_SYMBOL_BAR "-" +#define LINEBAR_SYMBOL_RIGHT "|" #endif /* color-theme */ diff --git a/util.h b/util.h @@ -26,8 +26,8 @@ size_t strlcpy(char *, const char *, size_t); #define PAD_TRUNCATE_SYMBOL "\xe2\x80\xa6" /* symbol: "ellipsis" */ #define UTF_INVALID_SYMBOL "\xef\xbf\xbd" /* symbol: "replacement" */ #else -#define PAD_TRUNCATE_SYMBOL "." /* symbol: "ellipsis" */ -#define UTF_INVALID_SYMBOL "?" /* symbol: "replacement" */ +#define PAD_TRUNCATE_SYMBOL "." +#define UTF_INVALID_SYMBOL "?" #endif /* feed info */