Poseidon information from Notes to Extra Data tab

Dirk Hohndel dirk at hohndel.org
Tue Nov 11 02:00:23 PST 2014


On Tue, Nov 11, 2014 at 05:52:55PM +0800, Miika Turkia wrote:
> On Tue, Nov 11, 2014 at 5:30 PM, Willem Ferguson <
> willemferguson at 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


More information about the subsurface mailing list