Signed-off-by: Miika Turkia <[email protected]>
---
 xslt/DiveLog.xslt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xslt/DiveLog.xslt b/xslt/DiveLog.xslt
index 7d21b10..b94e287 100644
--- a/xslt/DiveLog.xslt
+++ b/xslt/DiveLog.xslt
@@ -128,7 +128,7 @@
         </xsl:if>
       </cylinder>
 
-      <xsl:if test="@Weight != ''">
+      <xsl:if test="@Weight != '' and @Weight != '0.0'">
         <weightsystem>
           <xsl:attribute name="weight">
             <xsl:call-template name="weightConvert">
-- 
2.1.0

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to