aboutsummaryrefslogtreecommitdiff
path: root/vis-modes.c
diff options
context:
space:
mode:
Diffstat (limited to 'vis-modes.c')
-rw-r--r--vis-modes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vis-modes.c b/vis-modes.c
index b53aeb7..42c9d8a 100644
--- a/vis-modes.c
+++ b/vis-modes.c
@@ -114,7 +114,7 @@ static void vis_mode_insert_enter(Vis *vis, Mode *old) {
macro_operator_record(vis);
action_reset(&vis->action_prev);
vis->action_prev.macro = vis->macro_operator;
- vis->action_prev.op = &ops[OP_INSERT];
+ vis->action_prev.op = &ops[VIS_OP_INSERT];
}
}
@@ -138,7 +138,7 @@ static void vis_mode_replace_enter(Vis *vis, Mode *old) {
macro_operator_record(vis);
action_reset(&vis->action_prev);
vis->action_prev.macro = vis->macro_operator;
- vis->action_prev.op = &ops[OP_REPLACE];
+ vis->action_prev.op = &ops[VIS_OP_REPLACE];
}
}