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 | |
parent | 505e43a20eb25674b18d73971fe3b51dad917f9a (diff) |
patch 8.1.1802: missing change to call_callback()v8.1.1802
Problem: Missing change to call_callback().
Solution: Add missing change.
-rw-r--r-- | src/sound.c | 7 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/sound.c b/src/sound.c index 70f4425e92..c104b0d9a4 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); diff --git a/src/version.c b/src/version.c index f769211046..6268b8eb6f 100644 --- a/src/version.c +++ b/src/version.c @@ -774,6 +774,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1802, +/**/ 1801, /**/ 1800, |