Re: [PATCH wayland 1/3] scanner: don't print trailing whitespaces

2015-11-16 Thread Bryce Harrington
On Thu, Nov 05, 2015 at 02:20:04PM -0800, Bryce Harrington wrote: > On Fri, Nov 06, 2015 at 08:01:59AM +1000, Peter Hutterer wrote: > > If we're printing a zero-length string, we end up printing " * " and that > > makes anything unhappy that doesn't handle trailing whitespaces. > > > > Signed-off-

Re: [PATCH wayland 1/3] scanner: don't print trailing whitespaces

2015-11-05 Thread Bryce Harrington
On Fri, Nov 06, 2015 at 08:01:59AM +1000, Peter Hutterer wrote: > If we're printing a zero-length string, we end up printing " * " and that > makes anything unhappy that doesn't handle trailing whitespaces. > > Signed-off-by: Peter Hutterer Easy enough. Reviewed-by: Bryce Harrington > --- > s

[PATCH wayland 1/3] scanner: don't print trailing whitespaces

2015-11-05 Thread Peter Hutterer
If we're printing a zero-length string, we end up printing " * " and that makes anything unhappy that doesn't handle trailing whitespaces. Signed-off-by: Peter Hutterer --- src/scanner.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/scanner.c b/src/scanner.c index f45