summary refs log tree commit diff
path: root/html.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--html.c1
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>
 	);