X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f Date: Fri, 26 Feb 2016 15:10:02 -0500 Message-Id: <201602262010.u1QKA2Hf024379@envy.delorie.com> From: DJ Delorie To: geda-user AT delorie DOT com In-reply-to: (geda-user AT delorie DOT com) Subject: Re: [geda-user] Re: re-instituting GetXY() References: <201602260114 DOT u1Q1EFRk019336 AT envy DOT delorie DOT com> Reply-To: geda-user AT delorie DOT com In ./hid/common/actions.c we see: if (a->need_coord_msg) gui->get_coords (_(a->need_coord_msg), &x, &y); This is set from these: {"GetXY", "", GetXY, getxy_help, getxy_syntax}, {"GetXY", "", GetXY, getxy_help, getxy_syntax}, Note the "" which both triggers the get_coords but provides no message. Perhaps it would be better to pass NULL to those and change the two GetXY() implementations to be like this (caveat error checks et al): static int GetXY (int argc, char **argv, Coord x, Coord y) { gui->get_coords(argv[0], &x, &y); return 0; }