aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-09-09 08:53:50 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-09-09 08:53:50 +0200
commitcfc447cff743d286b38aa3c686f297305148a202 (patch)
tree2d0694a11a4f44d147b1f35d514f96f38e72841f /config.def.h
parentee3ded959f5486e921e45ac6753b21c2fcd63f0f (diff)
downloadvis-cfc447cff743d286b38aa3c686f297305148a202.tar.gz
vis-cfc447cff743d286b38aa3c686f297305148a202.tar.xz
Change mode input prototype
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/config.def.h b/config.def.h
index 6ab2286..f1f8d17 100644
--- a/config.def.h
+++ b/config.def.h
@@ -327,10 +327,9 @@ static void operator(const Arg *arg) {
}
}
-static bool operator_invalid(const char *str, size_t len) {
+static void operator_invalid(const char *str, size_t len) {
action_reset(&action);
switchmode_to(mode_prev);
- return false;
}
static void movement_key(const Arg *arg) {
@@ -780,9 +779,8 @@ static KeyBinding vis_insert_mode[] = {
{ /* empty last element, array terminator */ },
};
-static bool vis_insert_input(const char *str, size_t len) {
+static void vis_insert_input(const char *str, size_t len) {
vis_insert_key(vis, str, len);
- return true;
}
static KeyBinding vis_replace[] = {
@@ -790,9 +788,8 @@ static KeyBinding vis_replace[] = {
{ /* empty last element, array terminator */ },
};
-static bool vis_replace_input(const char *str, size_t len) {
+static void vis_replace_input(const char *str, size_t len) {
vis_replace_key(vis, str, len);
- return true;
}
static Mode vis_modes[] = {