Index: trunk/src/object_act.c =================================================================== --- trunk/src/object_act.c (revision 32736) +++ trunk/src/object_act.c (revision 32737) @@ -570,7 +570,7 @@ printf(" ... Footprint not on board, need to add it.\n"); #endif /* Not on board, need to add it. */ - if (RND_ACT_CALL_C(pcb_act_LoadFootprint, &rs, argc, args) != 0) { + if (RND_ACT_CALL_C(RND_ACT_HIDLIB, pcb_act_LoadFootprint, &rs, argc, args) != 0) { number_of_footprints_not_found++; RND_ACT_IRES(1); return 0; @@ -592,7 +592,7 @@ double orig_rot; /* Different footprint, we need to swap them out. */ - if (RND_ACT_CALL_C(pcb_act_LoadFootprint, &rs, argc, args) != 0) { + if (RND_ACT_CALL_C(RND_ACT_HIDLIB, pcb_act_LoadFootprint, &rs, argc, args) != 0) { number_of_footprints_not_found++; RND_ACT_IRES(1); return 0; Index: trunk/src/plug_io.c =================================================================== --- trunk/src/plug_io.c (revision 32736) +++ trunk/src/plug_io.c (revision 32737) @@ -620,7 +620,7 @@ { extern fgw_error_t pcb_act_GetStyle(fgw_arg_t *res, int argc, fgw_arg_t *argv); fgw_arg_t res, argv; - if (RND_ACT_CALL_C(pcb_act_GetStyle, &res, 1, &argv) < 0) + if (RND_ACT_CALL_C(&PCB->hidlib, pcb_act_GetStyle, &res, 1, &argv) < 0) pcb_use_route_style_idx(&PCB->RouteStyle, 0); } Index: trunk/src_plugins/dialogs/dlg_loadsave.c =================================================================== --- trunk/src_plugins/dialogs/dlg_loadsave.c (revision 32736) +++ trunk/src_plugins/dialogs/dlg_loadsave.c (revision 32737) @@ -66,7 +66,7 @@ /* Called with both function and file name -> no gui */ if (argc > 2) - return RND_ACT_CALL_C(pcb_act_LoadFrom, res, argc, argv); + return RND_ACT_CALL_C(RND_ACT_HIDLIB, pcb_act_LoadFrom, res, argc, argv); RND_ACT_MAY_CONVARG(1, FGW_STR, Load, function = argv[1].val.str); @@ -408,7 +408,7 @@ is_dialog = (function != NULL) && (rnd_strncasecmp(function, "Dialog", 6) == 0); if ((!is_dialog) && (argc > 2)) - return RND_ACT_CALL_C(pcb_act_SaveTo, res, argc, argv); + return RND_ACT_CALL_C(RND_ACT_HIDLIB, pcb_act_SaveTo, res, argc, argv); memset(&save, 0, sizeof(save)); Index: trunk/src_plugins/shand_cmd/command.c =================================================================== --- trunk/src_plugins/shand_cmd/command.c (revision 32736) +++ trunk/src_plugins/shand_cmd/command.c (revision 32737) @@ -190,7 +190,7 @@ /* DOC: wq.html */ static fgw_error_t pcb_act_SaveLayoutAndQuit(fgw_arg_t *res, int argc, fgw_arg_t *argv) { - if (RND_ACT_CALL_C(pcb_act_SaveLayout, res, argc, argv) == 0) + if (RND_ACT_CALL_C(RND_ACT_HIDLIB, pcb_act_SaveLayout, res, argc, argv) == 0) return pcb_act_Quit(res, argc, argv); RND_ACT_IRES(1);