summaryrefslogtreecommitdiffstats
path: root/src/sq_libraryhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sq_libraryhandler.cpp')
-rw-r--r--src/sq_libraryhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sq_libraryhandler.cpp b/src/sq_libraryhandler.cpp
index 56165b9..ecc4a83 100644
--- a/src/sq_libraryhandler.cpp
+++ b/src/sq_libraryhandler.cpp
@@ -257,8 +257,8 @@ void SQ_LibraryHandler::add(TQStringList &foundLibraries)
libtmp.lib->load();
// resolve create() and destroy() functions
- libtmp.codec_create = (fmt_codec_base*(*)())(libtmp.lib)->resolve(TQString::fromLatin1("codec_create").local8Bit());
- libtmp.codec_destroy = (void (*)(fmt_codec_base*))(libtmp.lib)->resolve(TQString::fromLatin1("codec_destroy").local8Bit());
+ libtmp.codec_create = (fmt_codec_base*(*)())(libtmp.lib)->resolve("codec_create");
+ libtmp.codec_destroy = (void (*)(fmt_codec_base*))(libtmp.lib)->resolve("codec_destroy");
// couldn't resolve - corrupted library ?
if(!libtmp.codec_create || !libtmp.codec_destroy)