Index: trunk/src/find2.c =================================================================== --- trunk/src/find2.c (revision 21867) +++ trunk/src/find2.c (revision 21868) @@ -40,7 +40,7 @@ vtp0_append(&ctx->found, obj); if ((ctx->flag_set != 0) || (ctx->flag_clr != 0)) { - if (ctx->flag_set_undoable) + if (ctx->flag_chg_undoable) pcb_undo_add_obj_to_flag(obj); if (ctx->flag_set != 0) PCB_FLAG_SET(ctx->flag_set, obj); @@ -267,7 +267,7 @@ } } - if (ctx->flag_set_undoable) + if (ctx->flag_chg_undoable) pcb_undo_inc_serial(); return ctx->nfound; Index: trunk/src/find2.h =================================================================== --- trunk/src/find2.h (revision 21867) +++ trunk/src/find2.h (revision 21868) @@ -40,7 +40,7 @@ unsigned list_found:1; /* allow adding objects in the ->found vector */ unsigned ignore_intconn:1; /* do not jump terminals on subc intconn */ unsigned consider_rats:1; /* don't ignore rat lines, don't consider physical objects only */ - unsigned flag_set_undoable:1; /* when set, and flag_set or flag_clr is non-zero, put all found objects on the flag-undo before the flag change */ + unsigned flag_chg_undoable:1; /* when set, and flag_set or flag_clr is non-zero, put all found objects on the flag-undo before the flag change */ unsigned long flag_set; /* when non-zero, set the static flag bits on objects found */ unsigned long flag_clr; /* when non-zero, remove the static flag bits on objects found */ Index: trunk/src/netlist.c =================================================================== --- trunk/src/netlist.c (revision 21867) +++ trunk/src/netlist.c (revision 21868) @@ -130,7 +130,7 @@ memset(&fctx, 0, sizeof(fctx)); fctx.flag_set = setf; fctx.flag_clr = clrf; - fctx.flag_set_undoable = 1; + fctx.flag_chg_undoable = 1; fctx.consider_rats = 1; res = pcb_find_from_obj(&fctx, PCB->Data, o); pcb_find_free(&fctx); Index: trunk/src/rats_act.c =================================================================== --- trunk/src/rats_act.c (revision 21867) +++ trunk/src/rats_act.c (revision 21868) @@ -128,7 +128,7 @@ memset(&fctx, 0, sizeof(fctx)); fctx.flag_set = PCB_FLAG_FOUND; - fctx.flag_set_undoable = 1; + fctx.flag_chg_undoable = 1; fctx.consider_rats = !!conf_core.editor.conn_find_rat; res = pcb_find_from_xy(&fctx, PCB->Data, x, y); pcb_message(PCB_MSG_INFO, "found %ld objects\n", res);