Re: [sigrok-devel] [PATCH 105/106] output: ASCII: add support for user configurable character set

2016-11-02 Thread Uwe Hermann
Hi, On Sun, Oct 16, 2016 at 06:25:23PM +0200, Gerhard Sittig wrote: > Signed-off-by: Gerhard Sittig Merged, thanks. > + if (ctx->charset) > + g_free((gpointer)ctx->charset); Dropped the "if" here, g_free() can cope with its argument

[sigrok-devel] [PATCH 105/106] output: ASCII: add support for user configurable character set

2016-10-16 Thread Gerhard Sittig
Since tastes and requirements might differ, introduce support for a user specified character set in the construction of ASCII art graphs of signal levels. The syntax is "charset=[]", the default remains backwards compatible with existing consumers. In comparison to assuming a fixed character