aboutsummaryrefslogtreecommitdiff
path: root/vis.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-09-09 21:27:55 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-09-09 21:27:55 +0200
commit6d2e43b8142e17f4dd0a578a961b1d8cc98894bb (patch)
tree9137169b01606fa65721358daa093c85c37b9168 /vis.c
parent78e0601e4ee68177ef597e75d08da786b0cabd3d (diff)
downloadvis-6d2e43b8142e17f4dd0a578a961b1d8cc98894bb.tar.gz
vis-6d2e43b8142e17f4dd0a578a961b1d8cc98894bb.tar.xz
Remove trailing whitespaces (sed 's/[ \t]*$//')
Diffstat (limited to 'vis.c')
-rw-r--r--vis.c8
1 files changed, 4 insertions, 4 deletions
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)