On Fri, Jan 30, 2015 at 11:01:06PM +0200, Gehad Elrobey wrote: > I forgot to check for the empty value in the two conditions, patch > re-attached.
Actually, we have our own beautiful same_string() function that does the sane thing when comparing NULL and "" (they are the same). Let's use that instead... I'll update your patch, no need to resend. /D _______________________________________________ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface