diff options
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)) |
