diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2014-09-09 21:27:55 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2014-09-09 21:27:55 +0200 |
| commit | 6d2e43b8142e17f4dd0a578a961b1d8cc98894bb (patch) | |
| tree | 9137169b01606fa65721358daa093c85c37b9168 /vis.c | |
| parent | 78e0601e4ee68177ef597e75d08da786b0cabd3d (diff) | |
| download | vis-6d2e43b8142e17f4dd0a578a961b1d8cc98894bb.tar.gz vis-6d2e43b8142e17f4dd0a578a961b1d8cc98894bb.tar.xz | |
Remove trailing whitespaces (sed 's/[ \t]*$//')
Diffstat (limited to 'vis.c')
| -rw-r--r-- | vis.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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) |
