changeset 17610:c08a3c552c1d v8.1.1802

patch 8.1.1802: missing change to call_callback() commit https://github.com/vim/vim/commit/b2129068a55261bea1e293a6a1ce8491a03e7de6 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 3 18:31:11 2019 +0200 patch 8.1.1802: missing change to call_callback() Problem: Missing change to call_callback(). Solution: Add missing change.
author Bram Moolenaar <Bram@vim.org>
date Sat, 03 Aug 2019 18:45:05 +0200
parents 7c5f8c130300
children b9a3d542a042
files src/sound.c src/version.c
diffstat 2 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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, W
 				      : 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);
--- 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,