Add explicit braces Signed-off-by: Daniel Stone <daniel@fooishbar.org>
diff --git a/src/xkbcomp/keymap.c b/src/xkbcomp/keymap.c
index 6c236a6..a5beedb 100644
--- a/src/xkbcomp/keymap.c
+++ b/src/xkbcomp/keymap.c
@@ -99,6 +99,7 @@ CompileKeymap(XkbFile *file, struct xkb_desc * xkb, unsigned merge)
ok = False;
}
else
+ {
switch (file->type)
{
case XkmSemanticsFile:
@@ -133,6 +134,7 @@ CompileKeymap(XkbFile *file, struct xkb_desc * xkb, unsigned merge)
WSGO("Unknown file type %d\n", file->type);
break;
}
+ }
if (ok)
have |= (1 << file->type);
file = (XkbFile *) file->common.next;