Index: remove_act.c =================================================================== --- remove_act.c (revision 12786) +++ remove_act.c (revision 12787) @@ -28,6 +28,7 @@ #include "config.h" #include "data.h" #include "action_helper.h" +#include "tool.h" #include "remove.h" #include "board.h" #include "funchash_core.h" @@ -54,7 +55,7 @@ switch (id) { case F_Object: - pcb_gui->get_coords("Click on object to delete", &Note.X, &Note.Y); + pcb_gui->get_coords("Click on object to delete", &pcb_tool_note.X, &pcb_tool_note.Y); pcb_crosshair_save_mode(); pcb_crosshair_set_mode(PCB_MODE_REMOVE); pcb_notify_mode();