summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/c-client.xsl5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/c-client.xsl b/src/c-client.xsl
index be6aa30..c90e94f 100644
--- a/src/c-client.xsl
+++ b/src/c-client.xsl
@@ -449,6 +449,11 @@ authorization from the authors.
</xsl:when>
</xsl:choose>
</xsl:variable>
+ <xsl:choose>
+ <xsl:when test="self::error|self::errorcopy">
+ <constant type="number" name="{xcb:xcb-prefix(concat('Bad', @name))}" value="{@number}" />
+ </xsl:when>
+ </xsl:choose>
<constant type="number" name="{xcb:xcb-prefix(@name)}" value="{@number}" />
<xsl:choose>
<xsl:when test="self::event|self::error">