summaryrefslogtreecommitdiff
path: root/components/keymap.c
diff options
context:
space:
mode:
authorAaron Marcher <me@drkhsh.at>2018-05-23 13:30:45 +0200
committerAaron Marcher <me@drkhsh.at>2018-05-23 13:30:45 +0200
commitd6ad87ce06593979b397fe1a01fc5fe9cb86e6a9 (patch)
tree11172af55b3283cac08ed8dcec7b14248902dc3c /components/keymap.c
parent385aedffd90e513cc007e44e57785d7c3d934f6f (diff)
keymap: Add braces for for loop
Diffstat (limited to 'components/keymap.c')
-rw-r--r--components/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/keymap.c b/components/keymap.c
index 358a2ca..aed408e 100644
--- a/components/keymap.c
+++ b/components/keymap.c
@@ -20,10 +20,11 @@ IsLayoutOrVariant(char *sym)
static const char* EXCLUDES[] = { "evdev", "inet", "pc", "base" };
size_t i;
- for (i = 0; i < sizeof(EXCLUDES)/sizeof(EXCLUDES[0]); ++i)
+ for (i = 0; i < sizeof(EXCLUDES)/sizeof(EXCLUDES[0]); ++i) {
if (strstr(sym, EXCLUDES[i])) {
return 0;
}
+ }
return 1;
}