summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@beryl-project.org>2007-04-17 19:18:08 +0200
committerDennis Kasprzyk <onestone@beryl-project.org>2007-04-17 19:18:08 +0200
commitc7db0b1c023dc1e4527d25e95c0a3e37ae0acaa1 (patch)
tree268d75028e821b3c38fad3bee3a2f09ec9295da4 /src
parent6eb55c1747b3536c52b999bed8177a73b03f5d50 (diff)
downloadbcop-c7db0b1c023dc1e4527d25e95c0a3e37ae0acaa1.tar.gz
bcop-c7db0b1c023dc1e4527d25e95c0a3e37ae0acaa1.tar.bz2
initialize matches correctly
Diffstat (limited to 'src')
-rw-r--r--src/bcop.xslt11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/bcop.xslt b/src/bcop.xslt
index 366dec6..0f98d25 100644
--- a/src/bcop.xslt
+++ b/src/bcop.xslt
@@ -848,6 +848,17 @@ void </xsl:text>
<xsl:value-of select="@name"/>
<xsl:text>");
</xsl:text>
+ <xsl:if test="@type = 'match'">
+ <xsl:text> matchUpdate (</xsl:text>
+ <xsl:if test="ancestor::display">
+ <xsl:text>d</xsl:text>
+ </xsl:if>
+ <xsl:if test="ancestor::screen">
+ <xsl:text>s->display</xsl:text>
+ </xsl:if>
+ <xsl:text>, &amp;o->value.match);
+</xsl:text>
+ </xsl:if>
<xsl:if test="@type = 'string' and ./allowed/value">
<xsl:text> {
int i;