tint2conf: Save executor index in comment in config file

This commit is contained in:
o9000 2015-12-24 23:18:33 +01:00
parent 453f875314
commit f8e4cdb56f

View file

@ -645,7 +645,7 @@ void config_write_execp(FILE *fp)
{
for (int i = 0; i < executors->len; i++) {
fprintf(fp, "#-------------------------------------\n");
fprintf(fp, "# Executor\n");
fprintf(fp, "# Executor %d\n", i + 1);
Executor *executor = &g_array_index(executors, Executor, i);