[Github-comments] [geany] Alter spawn to return the error message only in error->message (#701)

Colomban Wendling notifications at xxxxx
Wed Oct 21 14:44:40 UTC 2015


>  		{
> -			ui_set_statusbar(TRUE, "Context action command failed: %s", error->message);
> +			ui_set_statusbar(TRUE, format, command, error->message);

I'm not fond of non-literal arguments to printf()-style formats as GCC can warn for literals but isn't smart enough for this usage (yet).
But if it makes things much simpler, I guess it's ok as it's not out first one.

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/701/files#r42632495
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20151021/85ecdcac/attachment.html>


More information about the Github-comments mailing list