all repos — slstatus @ d6ad87ce06593979b397fe1a01fc5fe9cb86e6a9

my build of slstatus (tools.suckless.org/slstatus/)

keymap: Add braces for for loop
Aaron Marcher me@drkhsh.at
Wed, 23 May 2018 13:30:45 +0200
commit

d6ad87ce06593979b397fe1a01fc5fe9cb86e6a9

parent

385aedffd90e513cc007e44e57785d7c3d934f6f

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M components/keymap.ccomponents/keymap.c

@@ -20,10 +20,11 @@ {

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; }