summaryrefslogtreecommitdiff
path: root/x11-wm/afterstep/files/patch-Audio.c
blob: f867656045212bec7f207b49de0e0a64d41d6997 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- modules/Audio/Audio.c.orig	1997-04-19 20:36:39 UTC
+++ modules/Audio/Audio.c
@@ -477,7 +477,7 @@ int audio_play(short sound) 
 
 	if (sound_table[sound])
 	{
-		memset(buf,NULL,BUFSIZE);
+		memset(buf,0,BUFSIZE);
 
 		/*
 		 * Don't use audio_play_dir if it's NULL or if the sound file