summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRan Benita <ran@unusedvar.com>2019-11-12 22:06:02 +0200
committerRan Benita <ran@unusedvar.com>2019-11-12 22:06:02 +0200
commit406beecae5081f706f2c2741d041a071eb09f9d8 (patch)
tree37e0f460a9a7fba415610b17b1fa6ba06749396d /src
parent322cd8563c9bc2ca6ddfda72f8091e96fbe4c814 (diff)
downloadxorg-lib-libxkbcommon-406beecae5081f706f2c2741d041a071eb09f9d8.tar.gz
Replace some tabs that sneaked in with spaces
Signed-off-by: Ran Benita <ran@unusedvar.com>
Diffstat (limited to 'src')
-rw-r--r--src/compose/parser.c2
-rw-r--r--src/xkbcomp/expr.c10
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";