Index: trunk/src/action_helper.c =================================================================== --- trunk/src/action_helper.c (revision 5246) +++ trunk/src/action_helper.c (revision 5247) @@ -109,7 +109,7 @@ pcb_box_t *box; pcb_coord_t mx = 0, my = 0; - pcb_event(PCB_EVENT_RUBBER_RESET, ""); + pcb_event(PCB_EVENT_RUBBER_RESET, NULL); if (!conf_core.editor.snap_pin) { /* dither the grab point so that the mark, center, etc * will end up on a grid coordinate Index: trunk/src/object_act.c =================================================================== --- trunk/src/object_act.c (revision 5246) +++ trunk/src/object_act.c (revision 5247) @@ -33,6 +33,7 @@ #include "change.h" #include "error.h" #include "undo.h" +#include "event.h" #include "funchash_core.h" #include "search.h" @@ -386,7 +387,7 @@ nx -= x; if (absolute2) ny -= y; - pcb_crosshair.AttachedObject.RubberbandN = 0; + pcb_event(PCB_EVENT_RUBBER_RESET, NULL); if (conf_core.editor.rubber_band_mode) pcb_rubber_band_lookup_lines(type, ptr1, ptr2, ptr3); if (type == PCB_TYPE_ELEMENT) Index: trunk/src/rotate.c =================================================================== --- trunk/src/rotate.c (revision 5246) +++ trunk/src/rotate.c (revision 5247) @@ -112,7 +112,7 @@ pcb_message(PCB_MSG_DEFAULT, _("Sorry, the object is locked\n")); return; } - pcb_crosshair.AttachedObject.RubberbandN = 0; + pcb_event(PCB_EVENT_RUBBER_RESET, NULL); if (conf_core.editor.rubber_band_mode) pcb_rubber_band_lookup_lines(type, ptr1, ptr2, ptr3); if (type == PCB_TYPE_ELEMENT)