[PATCH] Fix for sample interval on Divelogs.de export
Miika Turkia
miika.turkia at gmail.com
Sun Jul 27 08:33:28 PDT 2014
Logic when to use default sample interval was mixed.
Fixes #657
Signed-off-by: Miika Turkia <miika.turkia at gmail.com>
---
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
More information about the subsurface
mailing list