From 706c9e5131a6937ea5cf4ff0d0548097a243c223 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Fri, 23 Oct 2015 12:50:42 +0200 Subject: vis: introduce vis_mode_switch API --- config.def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index c1ba0af..c3a6c4c 100644 --- a/config.def.h +++ b/config.def.h @@ -1120,7 +1120,7 @@ static void vis_mode_operator_leave(Vis *vis, Mode *new) { static void vis_mode_operator_input(Vis *vis, const char *str, size_t len) { /* invalid operator */ action_reset(vis, &vis->action); - switchmode_to(vis, vis->mode_prev); + vis_mode_set(vis, vis->mode_prev); } static KeyBinding vis_operator_options[] = { -- cgit v1.2.3