Index: act.c =================================================================== --- act.c (revision 29931) +++ act.c (revision 29932) @@ -44,7 +44,7 @@ #include "util.h" #include "act.h" -const char pcb_acts_Zoom[] = +const char pcb_acts_Zoom_[] = pcb_gui_acts_zoom "Zoom(found|selected)\n"; const char pcb_acth_Zoom[] = "GUI zoom"; @@ -51,6 +51,7 @@ /* DOC: zoom.html */ fgw_error_t pcb_act_Zoom(fgw_arg_t *res, int argc, fgw_arg_t *argv) { + pcb_acts_Zoom = pcb_acts_Zoom_; PCB_GUI_NOGUI(); if (argc == 2) { Index: act.h =================================================================== --- act.h (revision 29931) +++ act.h (revision 29932) @@ -1,4 +1,4 @@ -extern const char pcb_acts_Zoom[]; +extern const char pcb_acts_Zoom_[]; extern const char pcb_acth_Zoom[]; fgw_error_t pcb_act_Zoom(fgw_arg_t *res, int argc, fgw_arg_t *argv); Index: lib_hid_pcbui.c =================================================================== --- lib_hid_pcbui.c (revision 29931) +++ lib_hid_pcbui.c (revision 29932) @@ -64,8 +64,8 @@ }; static pcb_action_t act_action_list[] = { - {"Zoom", pcb_act_Zoom, pcb_acth_Zoom, pcb_acts_Zoom}, - {"ZoomTo", pcb_act_Zoom, pcb_acth_Zoom, pcb_acts_Zoom}, + {"Zoom", pcb_act_Zoom, pcb_acth_Zoom, pcb_acts_Zoom_}, + {"ZoomTo", pcb_act_Zoom, pcb_acth_Zoom, pcb_acts_Zoom_}, {"SwapSides", pcb_act_SwapSides, pcb_acth_SwapSides, pcb_acts_SwapSides}, {"Popup", pcb_act_Popup, pcb_acth_Popup, pcb_acts_Popup}, {"LayerHotkey", pcb_act_LayerHotkey, pcb_acth_LayerHotkey, pcb_acts_LayerHotkey}