aboutsummaryrefslogtreecommitdiff
path: root/vis-motions.c
diff options
context:
space:
mode:
Diffstat (limited to 'vis-motions.c')
-rw-r--r--vis-motions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vis-motions.c b/vis-motions.c
index 4cd700f..c0f7ab7 100644
--- a/vis-motions.c
+++ b/vis-motions.c
@@ -174,11 +174,11 @@ bool vis_motion(Vis *vis, enum VisMotion motion, ...) {
switch (motion) {
case VIS_MOVE_WORD_START_NEXT:
- if (vis->action.op == &ops[VIS_OP_CHANGE])
+ if (vis->action.op == &vis_operators[VIS_OP_CHANGE])
motion = VIS_MOVE_WORD_END_NEXT;
break;
case VIS_MOVE_LONGWORD_START_NEXT:
- if (vis->action.op == &ops[VIS_OP_CHANGE])
+ if (vis->action.op == &vis_operators[VIS_OP_CHANGE])
motion = VIS_MOVE_LONGWORD_END_NEXT;
break;
case VIS_MOVE_SEARCH_FORWARD: