On Tue, 2017-10-03 at 15:03 +0200, salvador fandino wrote:
> +#define QUOTE_MACRO(x) #x
>      if (!(e = getenv("LADSPA_PATH")))
> -        e = LADSPA_PATH;
> +        e = QUOTE_MACRO(LADSPA_PATH);
> +#undef QUOTE_MACRO

Nice trick! I didn't know the # operator did escaping, and even if I
knew, this solution probably wouldn't have occurred to me.

I added a comment to the code explaining what this does.

Thanks for the patches! I applied all three.

-- 
Tanu

https://www.patreon.com/tanuk
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Reply via email to