summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2007-04-17 17:43:05 +0200
committerDanny Baumann <dannybaumann@web.de>2007-04-17 17:43:05 +0200
commit404c3cbe6652ffd1c9c7d336fc85cbce4d17909b (patch)
tree79019decba32cd14059f7b4e39010dbe8cc891f6 /src
parent4357080d4ae52b3139981b12a6b182d379e0dc4f (diff)
downloadbcop-404c3cbe6652ffd1c9c7d336fc85cbce4d17909b.tar.gz
bcop-404c3cbe6652ffd1c9c7d336fc85cbce4d17909b.tar.bz2
Fixed string list handling.
Diffstat (limited to 'src')
-rw-r--r--src/bcop.xslt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bcop.xslt b/src/bcop.xslt
index d015f75..070060e 100644
--- a/src/bcop.xslt
+++ b/src/bcop.xslt
@@ -872,7 +872,7 @@ void </xsl:text>
<xsl:value-of select="@name"/>
<xsl:text> = 0;
for (i = 0; i &lt; o->value.list.nValue; i++)
- for (j = 0; j &lt; o->value.rest.s.nString; j++);
+ for (j = 0; j &lt; o->rest.s.nString; j++)
if (!strcmp (o->value.list.value[i].s, o->rest.s.string[j]))
</xsl:text>
<xsl:call-template name="privateName"/>
@@ -1028,7 +1028,7 @@ void </xsl:text>
<xsl:value-of select="@name"/>
<xsl:text> = 0;
for (i = 0; i &lt; o->value.list.nValue; i++)
- for (j = 0; j &lt; o->value.rest.s.nString; j++);
+ for (j = 0; j &lt; o->rest.s.nString; j++)
if (!strcmp (o->value.list.value[i].s, o->rest.s.string[j]))
</xsl:text>
<xsl:call-template name="privateName"/>
@@ -1674,4 +1674,4 @@ void </xsl:text>
<xsl:text>)</xsl:text>
</xsl:template>
-</xsl:stylesheet> \ No newline at end of file
+</xsl:stylesheet>