Index: trunk/src_plugins/export_stat/stat.c =================================================================== --- trunk/src_plugins/export_stat/stat.c (revision 8787) +++ trunk/src_plugins/export_stat/stat.c (revision 8788) @@ -157,10 +157,10 @@ fprintf(f, "ha:pcb-rnd-board-stats-v1 {\n"); fprintf(f, " ha:meta {\n"); fprintf(f, " date=%s\n", buff); - fprintf(f, " built=%d\n", stat_values[HA_built].int_value); - fprintf(f, " lht_built=%s\n", (stat_values[HA_lht_built].int_value ? "yes" : "no")); - fprintf(f, " orig_rnd=%s\n", (stat_values[HA_orig].int_value ? "yes" : "no")); - fprintf(f, " first_ver=%s\n", stat_values[HA_first_ver].str_value); + fprintf(f, " built=%d\n", options[HA_built].int_value); + fprintf(f, " lht_built=%s\n", (options[HA_lht_built].int_value ? "yes" : "no")); + fprintf(f, " orig_rnd=%s\n", (options[HA_orig].int_value ? "yes" : "no")); + fprintf(f, " first_ver=%s\n", options[HA_first_ver].str_value); fprintf(f, " curr_ver=%s\n", PCB_VERSION); #ifdef PCB_REVISION fprintf(f, " curr_rev=%s\n", PCB_REVISION);