From 6d2e43b8142e17f4dd0a578a961b1d8cc98894bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 9 Sep 2014 21:27:55 +0200 Subject: Remove trailing whitespaces (sed 's/[ \t]*$//') --- vis.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'vis.c') diff --git a/vis.c b/vis.c index bc091c3..2b87afa 100644 --- a/vis.c +++ b/vis.c @@ -49,7 +49,7 @@ struct Mode { bool common_prefix; void (*enter)(Mode *old); void (*leave)(Mode *new); - bool (*unknown)(Key *key0, Key *key1); /* unknown key for this mode, return value determines whether parent modes will be checked */ + bool (*unknown)(Key *key0, Key *key1); /* unknown key for this mode, return value determines whether parent modes will be checked */ void (*input)(const char *str, size_t len); /* unknown key for this an all parent modes */ void (*idle)(void); }; @@ -516,7 +516,7 @@ static void prompt_enter(const Arg *arg) { } static void prompt_up(const Arg *arg) { - + } static void prompt_down(const Arg *arg) { @@ -971,7 +971,7 @@ int main(int argc, char *argv[]) { KeyBinding *action = keybinding(mode, key_mod ? key_mod : &key, key_mod ? &key : NULL); if (!action && key_mod) { - /* second char of a combination was invalid, search again without the prefix */ + /* second char of a combination was invalid, search again without the prefix */ action = keybinding(mode, &key, NULL); key_mod = NULL; } @@ -989,7 +989,7 @@ int main(int argc, char *argv[]) { if (key.code) continue; - + if (mode->input) mode->input(key.str, strlen(key.str)); if (mode->idle) -- cgit v1.2.3