comparison 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
comparison
equal deleted inserted replaced
76:de0b36eabece 77:070d8c92ca30
66 json_t *iter, *jobresults; 66 json_t *iter, *jobresults;
67 json_int_t job_id; 67 json_int_t job_id;
68 size_t i, ns = 0, nf = 0; 68 size_t i, ns = 0, nf = 0;
69 69
70 json_array_foreach(jobs, i, iter) { 70 json_array_foreach(jobs, i, iter) {
71 ns = nf = 0;
72
71 /* Don't populate too much. */ 73 /* Don't populate too much. */
72 if (i + 1 >= 10) 74 if (i + 1 >= 10)
73 break; 75 break;
74 76
75 /* 77 /*