mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Fix cylinder pressure for UDDF export
Fixes #1086 Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
e80b03699d
commit
0e31171087
1 changed files with 2 additions and 2 deletions
|
@ -329,7 +329,7 @@
|
|||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<tankpressurebegin>
|
||||
<xsl:value-of select="substring-before(divecomputer[1]/sample[@pressure]/@pressure[1], ' ') * 100000"/>
|
||||
<xsl:value-of select="substring-before(../divecomputer[1]/sample[@pressure]/@pressure[1], ' ') * 100000"/>
|
||||
</tankpressurebegin>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
|
@ -342,7 +342,7 @@
|
|||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<tankpressureend>
|
||||
<xsl:value-of select="substring-before(divecomputer[1]/sample[@pressure][last()]/@pressure, ' ') * 100000"/>
|
||||
<xsl:value-of select="substring-before(../divecomputer[1]/sample[@pressure][last()]/@pressure[1], ' ') * 100000"/>
|
||||
</tankpressureend>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
|
|
Loading…
Reference in a new issue