diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2020-05-18 07:32:27 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2020-05-30 08:02:03 +0200 |
| commit | 2192a308490953199714fd14c964e94893548d70 (patch) | |
| tree | e7c854022fd2e4d8ccfe8a94f8d12429a57227f7 | |
| parent | 2725783d9b8340701dd3195469007148e139e92c (diff) | |
| download | vis-2192a308490953199714fd14c964e94893548d70.tar.gz vis-2192a308490953199714fd14c964e94893548d70.tar.xz | |
vis: fix implicit enum conversion warning
| -rw-r--r-- | vis-operators.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vis-operators.c b/vis-operators.c index 4a0ba42..6523a85 100644 --- a/vis-operators.c +++ b/vis-operators.c @@ -303,7 +303,7 @@ bool vis_operator(Vis *vis, enum VisOperator id, ...) { if (vis->action.op == op) { /* hacky way to handle double operators i.e. things like * dd, yy etc where the second char isn't a movement */ - vis->action.type = LINEWISE; + vis_motion_type(vis, VIS_MOTIONTYPE_LINEWISE); vis_motion(vis, VIS_MOVE_LINE_NEXT); } else { vis->action.op = op; |
