diff options
author | Ran Benita <ran@unusedvar.com> | 2019-11-12 22:06:02 +0200 |
---|---|---|
committer | Ran Benita <ran@unusedvar.com> | 2019-11-12 22:06:02 +0200 |
commit | 406beecae5081f706f2c2741d041a071eb09f9d8 (patch) | |
tree | 37e0f460a9a7fba415610b17b1fa6ba06749396d | |
parent | 322cd8563c9bc2ca6ddfda72f8091e96fbe4c814 (diff) | |
download | libxkbcommon-406beecae5081f706f2c2741d041a071eb09f9d8.tar.gz libxkbcommon-406beecae5081f706f2c2741d041a071eb09f9d8.tar.bz2 libxkbcommon-406beecae5081f706f2c2741d041a071eb09f9d8.zip |
Replace some tabs that sneaked in with spaces
Signed-off-by: Ran Benita <ran@unusedvar.com>
-rw-r--r-- | src/compose/parser.c | 2 | ||||
-rw-r--r-- | src/xkbcomp/expr.c | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/compose/parser.c b/src/compose/parser.c index 439d404..9468cf6 100644 --- a/src/compose/parser.c +++ b/src/compose/parser.c @@ -667,7 +667,7 @@ rhs: } production.keysym = keysym; production.has_keysym = true; - /* fallthrough */ + /* fallthrough */ case TOK_END_OF_LINE: if (!production.has_string && !production.has_keysym) { scanner_warn(s, "right-hand side must have at least one of string or keysym; skipping line"); diff --git a/src/xkbcomp/expr.c b/src/xkbcomp/expr.c index b2567de..bdd46df 100644 --- a/src/xkbcomp/expr.c +++ b/src/xkbcomp/expr.c @@ -52,10 +52,10 @@ ExprResolveLhs(struct xkb_context *ctx, const ExprDef *expr, *elem_rtrn = xkb_atom_text(ctx, expr->array_ref.element); *field_rtrn = xkb_atom_text(ctx, expr->array_ref.field); *index_rtrn = expr->array_ref.entry; - if (expr->array_ref.element != XKB_ATOM_NONE && *elem_rtrn == NULL) - return false; - if (*field_rtrn == NULL) - return false; + if (expr->array_ref.element != XKB_ATOM_NONE && *elem_rtrn == NULL) + return false; + if (*field_rtrn == NULL) + return false; return true; default: break; @@ -549,7 +549,7 @@ ExprResolveMaskLookup(struct xkb_context *ctx, const ExprDef *expr, case EXPR_ARRAY_REF: bogus = "array reference"; - /* fallthrough */ + /* fallthrough */ case EXPR_ACTION_DECL: if (bogus == NULL) bogus = "function use"; |