summaryrefslogtreecommitdiffstats
path: root/xslt/divelogs-export.xslt
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2014-07-27 18:33:28 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-28 09:56:18 -0700
commit0b5fe99353f269538a884970229ff2689b839b0a (patch)
tree9bfb6c4fecd48fa3338e425310fd6cb884a33d56 /xslt/divelogs-export.xslt
parent1863452a25b452432a8cebf8474185fd1ee28508 (diff)
downloadsubsurface-0b5fe99353f269538a884970229ff2689b839b0a.tar.gz
Fix for sample interval on Divelogs.de export
Logic when to use default sample interval was mixed. Fixes #657 Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'xslt/divelogs-export.xslt')
-rw-r--r--xslt/divelogs-export.xslt2
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/divelogs-export.xslt b/xslt/divelogs-export.xslt
index 50224280f..3de8c60b9 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>