keymap: Add braces for for loop
This commit is contained in:
parent
385aedffd9
commit
d6ad87ce06
1 changed files with 2 additions and 1 deletions
|
@ -20,10 +20,11 @@ IsLayoutOrVariant(char *sym)
|
||||||
static const char* EXCLUDES[] = { "evdev", "inet", "pc", "base" };
|
static const char* EXCLUDES[] = { "evdev", "inet", "pc", "base" };
|
||||||
|
|
||||||
size_t i;
|
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])) {
|
if (strstr(sym, EXCLUDES[i])) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue