forked from aniani/vim
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user