tBug fix for misbehaving ESD reported on Mandrake systems. - vaccinewars - be a doctor and try to vaccinate the world
git clone git://src.adamsgaard.dk/vaccinewars
Log
Files
Refs
README
LICENSE
---
commit 90bcddeea3eaa07ff63cd22b978e8b6b3a269bbf
parent 2d66f752dec4fc4544358dc977cc71e7405af81a
Author: Ben Webb 
Date:   Fri, 15 Nov 2002 11:39:42 +0000

Bug fix for misbehaving ESD reported on Mandrake systems.


Diffstat:
  M src/plugins/sound_esd.c             |       2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/sound_esd.c b/src/plugins/sound_esd.c
t@@ -82,7 +82,7 @@ static void SoundPlay_ESD(const gchar *snd)
     esd_sample_free(sock, cache[nextcache].esdid);
     g_free(cache[nextcache].name);
   }
-  cache[nextcache].esdid = esd_file_cache(sock, "", snd);
+  cache[nextcache].esdid = esd_file_cache(sock, PACKAGE, snd);
   cache[nextcache].name = g_strdup(snd);
   esd_sample_play(sock, cache[nextcache].esdid);
   nextcache = (nextcache + 1) % MAXCACHE;