Index: trunk/src/obj_text.c =================================================================== --- trunk/src/obj_text.c (revision 34093) +++ trunk/src/obj_text.c (revision 34094) @@ -1590,7 +1590,7 @@ } } -rnd_coord_t pcb_text_min_thickness(pcb_layer_t *layer) +rnd_coord_t pcb_text_min_thickness(const pcb_layer_t *layer) { unsigned int flg = 0; Index: trunk/src/obj_text.h =================================================================== --- trunk/src/obj_text.h (revision 34093) +++ trunk/src/obj_text.h (revision 34094) @@ -123,7 +123,7 @@ rnd_bool pcb_text_old_direction(int *dir_out, double rot); /* Return the minimum width the text object needs to have on a specific layer */ -rnd_coord_t pcb_text_min_thickness(pcb_layer_t *layer); +rnd_coord_t pcb_text_min_thickness(const pcb_layer_t *layer); /* hash and eq */ int pcb_text_eq(const pcb_host_trans_t *tr1, const pcb_text_t *t1, const pcb_host_trans_t *tr2, const pcb_text_t *t2);