diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-08-03 18:31:11 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-08-03 18:31:11 +0200 |
commit | b2129068a55261bea1e293a6a1ce8491a03e7de6 (patch) | |
tree | 91bf4e81266a861c84b266f3735a62c583683e0a /src/sound.c | |
parent | 505e43a20eb25674b18d73971fe3b51dad917f9a (diff) | |
download | vim-git-b2129068a55261bea1e293a6a1ce8491a03e7de6.tar.gz |
patch 8.1.1802: missing change to call_callback()v8.1.1802
Problem: Missing change to call_callback().
Solution: Add missing change.
Diffstat (limited to 'src/sound.c')
-rw-r--r-- | src/sound.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/sound.c b/src/sound.c index 70f4425e9..c104b0d9a 100644 --- a/src/sound.c +++ b/src/sound.c @@ -95,7 +95,6 @@ sound_callback( soundcb_T *soundcb = (soundcb_T *)userdata; typval_T argv[3]; typval_T rettv; - int dummy; argv[0].v_type = VAR_NUMBER; argv[0].vval.v_number = id; @@ -106,8 +105,7 @@ sound_callback( ? 1 : 2; argv[2].v_type = VAR_UNKNOWN; - call_callback(&soundcb->snd_callback, -1, - &rettv, 2, argv, NULL, 0L, 0L, &dummy, TRUE, NULL); + call_callback(&soundcb->snd_callback, -1, &rettv, 2, argv); clear_tv(&rettv); delete_sound_callback(soundcb); @@ -245,8 +243,7 @@ sound_wndproc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) : wParam == MCI_NOTIFY_ABORTED ? 1 : 2; argv[2].v_type = VAR_UNKNOWN; - call_callback(&p->snd_callback, -1, - &rettv, 2, argv, NULL, 0L, 0L, &dummy, TRUE, NULL); + call_callback(&p->snd_callback, -1, &rettv, 2, argv); clear_tv(&rettv); delete_sound_callback(p); |