Logic when to use default sample interval was mixed.

Fixes #657

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

diff --git a/xslt/divelogs-export.xslt b/xslt/divelogs-export.xslt
index 5022428..3de8c60 100644
--- a/xslt/divelogs-export.xslt
+++ b/xslt/divelogs-export.xslt
@@ -149,7 +149,7 @@
         </xsl:call-template>
       </xsl:variable>
       <xsl:choose>
-        <xsl:when test="$manual = 1">
+        <xsl:when test="$manual = 0">
           <xsl:value-of select="$second - $first"/>
         </xsl:when>
         <xsl:otherwise>
-- 
1.9.1

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

Reply via email to