# HG changeset patch # User Bram Moolenaar # Date 1567861203 -7200 # Node ID 5594967b38c5929091b83efa0153780fcd144533 # Parent 9b87fb26ff19d7c5df74481aeecdad45d0ba3595 patch 8.1.1999: calling both PlaySoundW() and PlaySoundA() Commit: https://github.com/vim/vim/commit/1b33bee35ed53b8d6f5c66a0e0a2da3c11bb7f3b Author: Bram Moolenaar Date: Sat Sep 7 14:50:49 2019 +0200 patch 8.1.1999: calling both PlaySoundW() and PlaySoundA() Problem: Calling both PlaySoundW() and PlaySoundA(). Solution: Only use PlaySoundW(). (Dan Thompson, closes https://github.com/vim/vim/issues/4903) diff --git a/src/sound.c b/src/sound.c --- a/src/sound.c +++ b/src/sound.c @@ -435,7 +435,7 @@ f_sound_stop(typval_T *argvars, typval_T void f_sound_clear(typval_T *argvars UNUSED, typval_T *rettv UNUSED) { - PlaySound(NULL, NULL, 0); + PlaySoundW(NULL, NULL, 0); mciSendString("close all", NULL, 0, NULL); } diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -758,6 +758,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1999, +/**/ 1998, /**/ 1997,