projects
/
suckless
/
slstatus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
385aedf
)
keymap: Add braces for for loop
author
Aaron Marcher
<me@drkhsh.at>
Wed, 23 May 2018 11:30:45 +0000
(13:30 +0200)
committer
Aaron Marcher
<me@drkhsh.at>
Wed, 23 May 2018 11:30:45 +0000
(13:30 +0200)
components/keymap.c
patch
|
blob
|
history
diff --git
a/components/keymap.c
b/components/keymap.c
index 358a2cab64b7d15026bb07806c645ff27c642c9a..aed408e4a10366bd2e0fcf5653a39d47d32c5363 100644
(file)
--- 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;
}