Patch 8.1.1999

6 views
Skip to first unread message

Bram Moolenaar

unread,
Sep 7, 2019, 8:51:22 AM9/7/19
to vim...@googlegroups.com

Patch 8.1.1999
Problem: Calling both PlaySoundW() and PlaySoundA().
Solution: Only use PlaySoundW(). (Dan Thompson, closes #4903)
Files: src/sound.c


*** ../vim-8.1.1998/src/sound.c 2019-08-30 16:29:56.211117894 +0200
--- src/sound.c 2019-09-07 14:49:08.857536500 +0200
***************
*** 435,441 ****
void
f_sound_clear(typval_T *argvars UNUSED, typval_T *rettv UNUSED)
{
! PlaySound(NULL, NULL, 0);
mciSendString("close all", NULL, 0, NULL);
}

--- 435,441 ----
void
f_sound_clear(typval_T *argvars UNUSED, typval_T *rettv UNUSED)
{
! PlaySoundW(NULL, NULL, 0);
mciSendString("close all", NULL, 0, NULL);
}

*** ../vim-8.1.1998/src/version.c 2019-09-07 14:33:32.849745196 +0200
--- src/version.c 2019-09-07 14:50:05.208918810 +0200
***************
*** 759,760 ****
--- 759,762 ----
{ /* Add new patch number below this line */
+ /**/
+ 1999,
/**/

--
hundred-and-one symptoms of being an internet addict:
206. You religiously respond immediately to e-mail, while ignoring
your growing pile of snail mail.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages