Skip to content

Commit

Permalink
vis: fix implicit enum conversion warning
Browse files Browse the repository at this point in the history
  • Loading branch information
martanne committed May 30, 2020
1 parent 2725783 commit 2192a30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vis-operators.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2192a30

Please sign in to comment.