sfeed

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

commit afd8f901b4ed41d8c33c341ebe0be5e3dd5ca7b3
parent c7da8ba1044e72e20cd4d258369a50cf1388a853
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Tue, 28 Jul 2015 22:36:51 +0200

sfeed_frames, sfeed_html: add space before amount of new items

Diffstat:
Msfeed_frames.c | 2+-
Msfeed_html.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sfeed_frames.c b/sfeed_frames.c @@ -212,7 +212,7 @@ main(int argc, char *argv[]) if (f->totalnew > 0) fputs("<b><u>", fpmenu); printxmlencoded(f->name, fpmenu); - fprintf(fpmenu, "(%lu)", f->totalnew); + fprintf(fpmenu, " (%lu)", f->totalnew); if (f->totalnew > 0) fputs("</u></b>", fpmenu); fputs("</a><br/>\n", fpmenu); diff --git a/sfeed_html.c b/sfeed_html.c @@ -130,7 +130,7 @@ main(int argc, char *argv[]) if (f->totalnew > 0) fputs("<b><u>", stdout); printxmlencoded(f->name, stdout); - fprintf(stdout, "(%lu)", f->totalnew); + fprintf(stdout, " (%lu)", f->totalnew); if (f->totalnew > 0) fputs("</u></b>", stdout); fputs("</a></li>\n", stdout);