Index: trunk/src/find.c =================================================================== --- trunk/src/find.c (revision 21821) +++ trunk/src/find.c (revision 21822) @@ -112,7 +112,7 @@ } ListType, *ListTypePtr; static pcb_coord_t Bloat = 0; -static int TheFlag = PCB_FLAG_FOUND; +int TheFlag = PCB_FLAG_FOUND; static int OldFlag = PCB_FLAG_FOUND; /* on DRC hit: the two offending objects */ Index: trunk/src_plugins/mincut/rats_mincut.c =================================================================== --- trunk/src_plugins/mincut/rats_mincut.c (revision 21821) +++ trunk/src_plugins/mincut/rats_mincut.c (revision 21822) @@ -51,6 +51,10 @@ #include "rats_mincut_conf.h" conf_mincut_t conf_mincut; +TODO("find.c: REMOVE THESE after the switchover") +#include "board.h" +extern int TheFlag; + /* define to 1 to enable debug prints */ #if 0 # define debprintf pcb_trace @@ -311,8 +315,7 @@ } - pcb_reset_found_lines_polys(pcb_false); - pcb_reset_found_pins_vias_pads(pcb_false); + pcb_data_clear_flag(PCB->Data, TheFlag, 0, 0); /* this can be removed with the old find.c calls */ pcb_restore_find_flag(); for(i = 0; i < g->n; i++)