diff options
| author | Randy Palamar <randy@rnpnr.xyz> | 2025-01-12 00:21:18 -0700 |
|---|---|---|
| committer | Randy Palamar <randy@rnpnr.xyz> | 2025-01-12 00:21:18 -0700 |
| commit | 1b483c2cb47e2f64726e1bbb0923a4fa40ac8126 (patch) | |
| tree | cf52190dbe8a58633e1c074d3ee5f560c9d92e24 /vis.c | |
| parent | 0f31ef53420b755c3978818bcd2e5a86e141413d (diff) | |
| download | vis-1b483c2cb47e2f64726e1bbb0923a4fa40ac8126.tar.gz vis-1b483c2cb47e2f64726e1bbb0923a4fa40ac8126.tar.xz | |
array: delete oneliners
same as buffer commit Array is completely visible
Diffstat (limited to 'vis.c')
| -rw-r--r-- | vis.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -649,10 +649,10 @@ void vis_free(Vis *vis) { array_release_full(&vis->operators); array_release_full(&vis->motions); array_release_full(&vis->textobjects); - while (array_length(&vis->bindings)) + while (vis->bindings.len) vis_binding_free(vis, array_get_ptr(&vis->bindings, 0)); array_release(&vis->bindings); - while (array_length(&vis->actions_user)) + while (vis->actions_user.len) vis_action_free(vis, array_get_ptr(&vis->actions_user, 0)); array_release(&vis->actions_user); free(vis->shell); |
