aboutsummaryrefslogtreecommitdiff
path: root/vis.c
diff options
context:
space:
mode:
Diffstat (limited to 'vis.c')
-rw-r--r--vis.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vis.c b/vis.c
index d5998be..612e3b5 100644
--- a/vis.c
+++ b/vis.c
@@ -1348,7 +1348,8 @@ int main(int argc, char *argv[]) {
key_mod = &key_prev;
continue;
}
- action->func(&action->arg);
+ if (action->func)
+ action->func(&action->arg);
key_mod = NULL;
continue;
}