summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Harris <pharris@opentext.com>2014-04-29 11:52:36 -0400
committerPeter Harris <pharris@opentext.com>2014-04-29 11:52:36 -0400
commit389889e2f95af19e7fc7ac89e7faeb2f28652415 (patch)
tree847eeb14afc48724d3cbdcc259027ee894793d0b
parent70fea02b7d90d86e9d3b0dc5b61406bf4c910999 (diff)
xkb: Fix use of nKTLevels
nLevelsPerType is nLevels long. This continues the work started in 76ca2c0b1527541be59c344118c538ba055ad9d8. nKTLevels could be used instead of <sumof nLevelsPerType>, but that change causes a change to libxcb's API. Reviewed-by: Ran Benita <ran234@gmail.com> Tested-by: Ran Benita <ran234@gmail.com> Signed-off-by: Peter Harris <pharris@opentext.com>
-rw-r--r--src/xkb.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xkb.xml b/src/xkb.xml
index 9ef4402..04ab429 100644
--- a/src/xkb.xml
+++ b/src/xkb.xml
@@ -1778,7 +1778,7 @@ authorization from the authors.
<bitcase>
<enumref ref="NameDetail">KTLevelNames</enumref>
<list name="nLevelsPerType" type="CARD8">
- <fieldref>nKTLevels</fieldref>
+ <fieldref>nTypes</fieldref>
</list>
<list name="ktLevelNames" type="ATOM">
<sumof ref="nLevelsPerType" />
@@ -2220,7 +2220,7 @@ authorization from the authors.
<bitcase>
<enumref ref="NameDetail">KTLevelNames</enumref>
<list name="nLevelsPerType" type="CARD8">
- <fieldref>nKTLevels</fieldref>
+ <fieldref>nTypes</fieldref>
</list>
<list name="ktLevelNames" type="ATOM">
<sumof ref="nLevelsPerType" />