mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.1.1999: calling both PlaySoundW() and PlaySoundA()
Problem: Calling both PlaySoundW() and PlaySoundA(). Solution: Only use PlaySoundW(). (Dan Thompson, closes #4903)
This commit is contained in:
parent
fbb3bc89b3
commit
1b33bee35e
@ -435,7 +435,7 @@ f_sound_stop(typval_T *argvars, typval_T *rettv UNUSED)
|
||||
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);
|
||||
}
|
||||
|
||||
|
@ -757,6 +757,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1999,
|
||||
/**/
|
||||
1998,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user