Convert html notes before printing

Dirk Hohndel dirk at hohndel.org
Tue Oct 27 06:53:00 PDT 2015


On Tue, Oct 27, 2015 at 02:13:33PM +0100, Robert Helling wrote:
> Lubomir,
> 
> > On 27.10.2015, at 13:31, Lubomir I. Ivanov <neolit123 at gmail.com> wrote:
> > 
> > + if (strcmp(dive->dc.model, "planned dive")) {
> > ^ it should be !strcmp(...) to enter that branch and convert the HTML to PT.
> 
> 
> Bummer. Of course you are right. Dirk, could you add the ! to the patch?

I could. But I switched to "same_string()" instead as that gracefully
deals with NULL pointers as well - and is much easier to read :-)

/D


More information about the subsurface mailing list