fix comment for ASCII symbols for dumb terminals - sfeed - RSS and Atom parser
(HTM) git clone git://git.codemadness.org/sfeed
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit dbb7f7b66d2d10a4bf14a404b66fa20cbf8a02ca
(DIR) parent f83f6cd4dc21664721602ceb449631957e941215
(HTM) 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:
M sfeed_curses.c | 6 +++---
M util.h | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
---
(DIR) 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 */
(DIR) 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 */