diff options
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h index f83918e..087b678 100644 --- a/config.def.h +++ b/config.def.h @@ -224,7 +224,7 @@ static void vis_mode_operator_leave(Mode *new) { static void vis_mode_operator_input(const char *str, size_t len) { /* invalid operator */ action_reset(&vis->action); - switchmode_to(mode_prev); + switchmode_to(vis->mode_prev); } static KeyBinding vis_operator_options[] = { @@ -504,7 +504,7 @@ static void vis_mode_prompt_input(const char *str, size_t len) { static void vis_mode_prompt_enter(Mode *old) { if (old->isuser && old != &vis_modes[VIS_MODE_PROMPT]) - mode_before_prompt = old; + vis->mode_before_prompt = old; } static void vis_mode_prompt_leave(Mode *new) { |
