symbols: store actions from symbols in the right offset

This regression was introduced in 93ce9c7d4f. This meant that actions
specified inside key {} statments were always going to the first group.
But actions are almost never specified in xkb_symbols so this wasn't
noticed.

Signed-off-by: Ran Benita <ran234@gmail.com>
master
Ran Benita 2012-09-13 20:59:27 +03:00
parent 898d6fd416
commit dd6124ca07
1 changed files with 1 additions and 1 deletions

View File

@ -1611,7 +1611,7 @@ CopySymbolsDef(SymbolsInfo *info, KeyInfo *keyi)
if (key->actions && leveli &&
leveli->act.type != ACTION_TYPE_NONE)
key->actions[tmp] = leveli->act;
key->actions[i * width + tmp] = leveli->act;
}
}
}