summaryrefslogtreecommitdiffstats
path: root/src/sq_libraryhandler.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-02-16 11:34:46 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-03-09 21:06:22 +0900
commit84ba1fb33fe2d6c2bc50720130260f7fbc2df19d (patch)
treeb3a1f3a61deec3fce067133dbee6a21b1f056742 /src/sq_libraryhandler.cpp
parentcaf01321779aee7b959c29a74f15fdc23a81c527 (diff)
downloadksquirrel-84ba1fb33fe2d6c2bc50720130260f7fbc2df19d.tar.gz
ksquirrel-84ba1fb33fe2d6c2bc50720130260f7fbc2df19d.zip
Switch to cmake building system
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 9d6a68cb01d6a634885aaf9895195d224395d28c)
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)