diff options
author | Ran Benita <ran234@gmail.com> | 2013-02-08 14:03:36 +0200 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2013-03-18 22:20:02 +0000 |
commit | 60bb639bbe057fad87e34dccbe7e482055e59307 (patch) | |
tree | dcb57c7cb295064f4791c4ee026efe1ec8a49745 /src | |
parent | fab28da39f481a68838ca5b8a7c4920dfea88223 (diff) |
action: s/hndlrType/handler_type
Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/xkbcomp/action.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/xkbcomp/action.c b/src/xkbcomp/action.c index d0e18dd..22762c6 100644 --- a/src/xkbcomp/action.c +++ b/src/xkbcomp/action.c @@ -860,7 +860,7 @@ HandleActionDef(ExprDef *def, struct xkb_keymap *keymap, { ExprDef *arg; const char *str; - unsigned hndlrType; + unsigned handler_type; if (def->op != EXPR_ACTION_DECL) { log_err(keymap->ctx, "Expected an action definition, found %s\n", @@ -869,7 +869,7 @@ HandleActionDef(ExprDef *def, struct xkb_keymap *keymap, } str = xkb_atom_text(keymap->ctx, def->value.action.name); - if (!stringToAction(str, &hndlrType)) { + if (!stringToAction(str, &handler_type)) { log_err(keymap->ctx, "Unknown action %s\n", str); return false; } @@ -879,7 +879,7 @@ HandleActionDef(ExprDef *def, struct xkb_keymap *keymap, * statements such as: * latchMods.clearLocks = True; */ - *action = info->actions[hndlrType]; + *action = info->actions[handler_type]; /* * Now change the action properties as specified for this @@ -923,8 +923,8 @@ HandleActionDef(ExprDef *def, struct xkb_keymap *keymap, return false; } - if (!handleAction[hndlrType](keymap, action, fieldNdx, arrayRtrn, - value)) + if (!handleAction[handler_type](keymap, action, fieldNdx, arrayRtrn, + value)) return false; } |