tPlugin install directory is now passed to the program code. - vaccinewars - be a doctor and try to vaccinate the world
git clone git://src.adamsgaard.dk/vaccinewars
Log
Files
Refs
README
LICENSE
---
commit 4113e6d13f59c4f57e5fff35456f7c42bc266a4f
parent fa1f616f2d2c004b76502c61ed3f2ea026311e02
Author: Ben Webb 
Date:   Mon, 13 May 2002 15:38:11 +0000

Plugin install directory is now passed to the program code.


Diffstat:
  M src/sound.c                         |       2 ++

1 file changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/sound.c b/src/sound.c
t@@ -113,7 +113,9 @@ static void ScanPluginDir(const gchar *dirname)
 void SoundInit(void)
 {
 #ifdef PLUGINS
+  ScanPluginDir(PLUGINDIR);
   ScanPluginDir("src/plugins/.libs");
+  ScanPluginDir("plugins/.libs");
 #else
 #ifdef HAVE_ESD
   AddPlugin(sound_esd_init);