changeset 9592:b20b0c80298b

Fix for truespeech dll, patch by <dimakar(at)yahoo.com>
author rtognimp
date Sat, 15 Mar 2003 15:46:32 +0000
parents 3904b95fce8f
children e9a2af584986
files loader/win32.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/loader/win32.c	Sat Mar 15 14:12:22 2003 +0000
+++ b/loader/win32.c	Sat Mar 15 15:46:32 2003 +0000
@@ -5089,7 +5089,10 @@
 	}
     }
 
-#ifdef LOADLIB_TRY_NATIVE
+#ifndef LOADLIB_TRY_NATIVE
+  /* hack for truespeech */
+  if (!strcmp(library, "tsd32.dll"))
+#endif
     /* ok, this is a hack, and a big memory leak. should be fixed. - alex */
     {
 	int hand;
@@ -5117,7 +5120,6 @@
 	       hand, func);
 	return func;
     }
-#endif
 
 no_dll:
     if(pos>150)return 0;