mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-08 00:31:11 +00:00
fluidsettings: report boolean settings as int
This commit is contained in:
parent
b6b6931468
commit
109db1484b
1 changed files with 9 additions and 2 deletions
|
@ -103,7 +103,14 @@ td
|
|||
<th class="first-row">Type</th>
|
||||
|
||||
<td class="cell-type first-row">
|
||||
<xsl:value-of select="type" />
|
||||
<xsl:choose>
|
||||
<xsl:when test="type = 'bool'">
|
||||
int (bool)
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="type" />
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
@ -163,7 +170,7 @@ td
|
|||
<xsl:value-of select="vals" />
|
||||
</xsl:when>
|
||||
<xsl:when test="type = 'bool'">
|
||||
1, "yes", 0, "no"
|
||||
1, 0
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="min" />
|
||||
|
|
Loading…
Reference in a new issue