On Tue, Nov 11, 2014 at 05:52:55PM +0800, Miika Turkia wrote:
> On Tue, Nov 11, 2014 at 5:30 PM, Willem Ferguson <
> willemfergu...@zoology.up.ac.za> wrote:
> 
> > Looks excellent Miika,
> >
> > Small bug. At the end of each item in the second column of the Extra data
> > tab there is a small unprintable character showing up as a square. I
> > suspect that should not be?
> >
> 
> I am shooting in the dark but would this patch fix the issue?

Why would the string be terminated by '\n' or '\r'? I must be missing
something (need to look at that code in the larger context). Shouldn't we
just strip all whitespace (like \r and \n)?

I had a bug earlier in my code where the second string did not get NUL
terminated and that caused odd things to be shown, but I thought I fixed
that.

/D
_______________________________________________
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to