comparison src/sound.c @ 18006:5594967b38c5 v8.1.1999

patch 8.1.1999: calling both PlaySoundW() and PlaySoundA() Commit: https://github.com/vim/vim/commit/1b33bee35ed53b8d6f5c66a0e0a2da3c11bb7f3b Author: Bram Moolenaar <Bram@vim.org> 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)
author Bram Moolenaar <Bram@vim.org>
date Sat, 07 Sep 2019 15:00:03 +0200
parents d55356da47c1
children e47b04b01793
comparison
equal deleted inserted replaced
18005:9b87fb26ff19 18006:5594967b38c5
433 } 433 }
434 434
435 void 435 void
436 f_sound_clear(typval_T *argvars UNUSED, typval_T *rettv UNUSED) 436 f_sound_clear(typval_T *argvars UNUSED, typval_T *rettv UNUSED)
437 { 437 {
438 PlaySound(NULL, NULL, 0); 438 PlaySoundW(NULL, NULL, 0);
439 mciSendString("close all", NULL, 0, NULL); 439 mciSendString("close all", NULL, 0, NULL);
440 } 440 }
441 441
442 # if defined(EXITFREE) 442 # if defined(EXITFREE)
443 void 443 void