summaryrefslogtreecommitdiffstats
path: root/experimental/tqtinterface/qt4/src/tools/tqcomlibrary.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/tqtinterface/qt4/src/tools/tqcomlibrary.cpp')
-rw-r--r--experimental/tqtinterface/qt4/src/tools/tqcomlibrary.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/experimental/tqtinterface/qt4/src/tools/tqcomlibrary.cpp b/experimental/tqtinterface/qt4/src/tools/tqcomlibrary.cpp
index 253f9bf00..4bbeee35c 100644
--- a/experimental/tqtinterface/qt4/src/tools/tqcomlibrary.cpp
+++ b/experimental/tqtinterface/qt4/src/tools/tqcomlibrary.cpp
@@ -273,11 +273,11 @@ static bool tqt_parse_pattern( const char *s, uint *version, uint *flags,
# include <sys/mman.h>
#endif // TQ_OS_FREEBSD || TQ_OS_LINUX
-static long qt_tqfind_pattern( const char *s, ulong s_len,
+static long qt_find_pattern( const char *s, ulong s_len,
const char *pattern, ulong p_len )
{
/*
- this uses the same algorithm as TQString::tqfindRev...
+ this uses the same algorithm as TQString::findRev...
we search from the end of the file because on the supported
systems, the read-only data/text segments are placed at the end
@@ -358,7 +358,7 @@ static bool tqt_unix_query( const TQString &library, uint *version, uint *flags,
// verify that the pattern is present in the plugin
const char *pattern = "pattern=TQT_UCM_VERIFICATION_DATA";
const ulong plen = tqstrlen( pattern );
- long pos = qt_tqfind_pattern( filedata, fdlen, pattern, plen );
+ long pos = qt_find_pattern( filedata, fdlen, pattern, plen );
bool ret = FALSE;
if ( pos >= 0 ) {