mirror of
				https://github.com/vim/vim.git
				synced 2025-10-31 09:57:14 -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:
		| @@ -435,7 +435,7 @@ f_sound_stop(typval_T *argvars, typval_T *rettv UNUSED) | |||||||
|     void |     void | ||||||
| f_sound_clear(typval_T *argvars UNUSED, typval_T *rettv UNUSED) | 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); |     mciSendString("close all", NULL, 0, NULL); | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -757,6 +757,8 @@ static char *(features[]) = | |||||||
|  |  | ||||||
| static int included_patches[] = | static int included_patches[] = | ||||||
| {   /* Add new patch number below this line */ | {   /* Add new patch number below this line */ | ||||||
|  | /**/ | ||||||
|  |     1999, | ||||||
| /**/ | /**/ | ||||||
|     1998, |     1998, | ||||||
| /**/ | /**/ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user