diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2018-04-28 11:34:26 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2018-05-16 13:24:01 +0200 |
| commit | e34b829bbb284972dd391ae00b22274e47d55f16 (patch) | |
| tree | 9d6092a1f6a036d0fc87bfc1dc6e7050e3c5b6fb /vis-motions.c | |
| parent | 55ea139a5bee4d3dd503ccc255865fc1c6c3fabe (diff) | |
| download | vis-e34b829bbb284972dd391ae00b22274e47d55f16.tar.gz vis-e34b829bbb284972dd391ae00b22274e47d55f16.tar.xz | |
vis: remove v and V in operator pending mode
Diffstat (limited to 'vis-motions.c')
| -rw-r--r-- | vis-motions.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vis-motions.c b/vis-motions.c index 5678003..282c7dd 100644 --- a/vis-motions.c +++ b/vis-motions.c @@ -232,14 +232,13 @@ void vis_motion_type(Vis *vis, enum VisMotionType type) { vis->action.type = type; } -int vis_motion_register(Vis *vis, enum VisMotionType type, void *data, VisMotionFunction *motion) { +int vis_motion_register(Vis *vis, void *data, VisMotionFunction *motion) { Movement *move = calloc(1, sizeof *move); if (!move) return -1; move->user = motion; - move->type = type; move->data = data; if (array_add_ptr(&vis->motions, move)) |
