diff scid/page-index.c @ 77:070d8c92ca30

scid: fix index page
author David Demelier <markand@malikania.fr>
date Mon, 30 Jan 2023 10:38:33 +0100
parents b0d1166de7d3
children 71cd8447e3a4
line wrap: on
line diff
--- a/scid/page-index.c	Mon Jan 30 09:35:05 2023 +0100
+++ b/scid/page-index.c	Mon Jan 30 10:38:33 2023 +0100
@@ -68,6 +68,8 @@
 	size_t i, ns = 0, nf = 0;
 
 	json_array_foreach(jobs, i, iter) {
+		ns = nf = 0;
+
 		/* Don't populate too much. */
 		if (i + 1 >= 10)
 			break;