Index: layer_vis.h =================================================================== --- layer_vis.h (revision 26064) +++ layer_vis.h (revision 26065) @@ -52,7 +52,7 @@ /* Use this to temporarily make all layers visible, so that they can be exported even if they're not currently visible. save_array must be - PCB_MAX_LAYER+2 (or PCB_MAX_LAYERGRP) big. Groups are only saved, not + PCB_MAX_LAYER (or PCB_MAX_LAYERGRP) big. Groups are only saved, not set visible */ void pcb_hid_save_and_show_layer_ons(int *save_array); void pcb_hid_save_and_show_layergrp_ons(int *save_array);