aboutsummaryrefslogtreecommitdiff
path: root/vis-motions.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2018-04-28 11:34:26 +0200
committerMarc André Tanner <mat@brain-dump.org>2018-05-16 13:24:01 +0200
commite34b829bbb284972dd391ae00b22274e47d55f16 (patch)
tree9d6092a1f6a036d0fc87bfc1dc6e7050e3c5b6fb /vis-motions.c
parent55ea139a5bee4d3dd503ccc255865fc1c6c3fabe (diff)
downloadvis-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.c3
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))