Index: trunk/src/rats_patch.c =================================================================== --- trunk/src/rats_patch.c (revision 38256) +++ trunk/src/rats_patch.c (revision 38257) @@ -415,7 +415,7 @@ } break; case RATP_DEL_CONN: - if (pcb_net_is_term_on_net_by_name(pcb, &pcb->netlist[PCB_NETLIST_INPUT], n->arg1.net_name, n->id) == 0) { + if (pcb_net_is_term_on_net_by_name(pcb, &pcb->netlist[PCB_NETLIST_INPUT], n->arg1.net_name, n->id) < 1) { rnd_message(RND_MSG_INFO, "rats patch: 'del connection' %s to %s is done on forward annotation, removing.\n", n->id, n->arg1.net_name); return 1; }