# HG changeset patch # User rtognimp # Date 1047743192 0 # Node ID b20b0c80298ba78c46678dcb57eeae42c4aea709 # Parent 3904b95fce8f8999b3312cfa8fe71c4a0db8efb1 Fix for truespeech dll, patch by diff -r 3904b95fce8f -r b20b0c80298b loader/win32.c --- 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;