summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xkb/XKBMisc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xkb/XKBMisc.c b/xkb/XKBMisc.c
index f32410351..078f2419c 100644
--- a/xkb/XKBMisc.c
+++ b/xkb/XKBMisc.c
@@ -242,6 +242,8 @@ BOOL replicated = FALSE;
Bool identical;
for (i=1,identical=True;identical&&(i<nGroups);i++) {
KeySym *syms;
+ if (nSyms[i] != nSyms[XkbGroup1Index])
+ identical = False;
syms= &xkb_syms_rtrn[XKB_OFFSET(i,0)];
for (s=0;identical&&(s<nSyms[i]);s++) {
if (syms[s]!=xkb_syms_rtrn[s])