diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-09-07 14:50:49 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-09-07 14:50:49 +0200 |
commit | 1b33bee35ed53b8d6f5c66a0e0a2da3c11bb7f3b (patch) | |
tree | a7465f9e19d38b43340920cbab9f0dc25705f96f /src/sound.c | |
parent | fbb3bc89b3ae29b5d42cc5951db67e2e71a22880 (diff) | |
download | vim-git-1b33bee35ed53b8d6f5c66a0e0a2da3c11bb7f3b.tar.gz |
patch 8.1.1999: calling both PlaySoundW() and PlaySoundA()v8.1.1999
Problem: Calling both PlaySoundW() and PlaySoundA().
Solution: Only use PlaySoundW(). (Dan Thompson, closes #4903)
Diffstat (limited to 'src/sound.c')
-rw-r--r-- | src/sound.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound.c b/src/sound.c index 11170afb7..c3052fd24 100644 --- a/src/sound.c +++ b/src/sound.c @@ -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); } |