Index: routest_dlg.c =================================================================== --- routest_dlg.c (revision 34407) +++ routest_dlg.c (revision 34408) @@ -230,13 +230,15 @@ } else if (idx == rstdlg_ctx.wproto) { fgw_error_t err; - fgw_arg_t res, args[3]; + fgw_arg_t res, args[4]; args[1].type = FGW_STR; args[1].val.cstr = "board"; args[2].type = FGW_STR; args[2].val.cstr = "retpid"; - err = rnd_actionv_bin(&PCB->hidlib, "pstklib", &res, 3, args); + args[3].type = FGW_LONG; + args[3].val.nat_long = rst->via_proto; + err = rnd_actionv_bin(&PCB->hidlib, "pstklib", &res, 4, args); if ((err == 0) && (res.type == FGW_LONG)) { pcb_font_id_t tmp = res.val.nat_long; pcb_route_style_change(PCB, rstdlg_ctx.curr, NULL, NULL, NULL, NULL, NULL, &tmp, 1);