diff options
author | June McEnroe <june@causal.agency> | 2021-04-26 18:06:10 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-04-26 18:06:10 -0400 |
commit | e7a093abad0998937d749de7db0c59325ba9ee54 (patch) | |
tree | d0b7c5bcf0f0cbbaedad7c153a6dbc0b499099d3 /html.c | |
parent | Fix address group spacing (diff) | |
download | bubger-e7a093abad0998937d749de7db0c59325ba9ee54.tar.gz bubger-e7a093abad0998937d749de7db0c59325ba9ee54.zip |
Don't output "0 replies" at all 1.0a
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/html.c b/html.c index 25565c6..f8f8539 100644 --- a/html.c +++ b/html.c @@ -464,6 +464,7 @@ static uint32_t threadCount(struct List thread) { } static int htmlReplies(FILE *file, uint32_t replies) { + if (!replies) return 0; const char *template = Q( <data class="replies" value="[replies]">[replies] repl[ies]</data> ); |