summaryrefslogtreecommitdiffstats
path: root/src/textdocument.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/textdocument.cpp')
-rw-r--r--src/textdocument.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textdocument.cpp b/src/textdocument.cpp
index 41caf94..628cfb6 100644
--- a/src/textdocument.cpp
+++ b/src/textdocument.cpp
@@ -231,7 +231,7 @@ void TextDocument::guessScheme( bool allowDisable )
{
// And specific file actions depending on the current type of file
TQString fileName = url().fileName();
- TQString extension = fileName.right( fileName.length() - fileName.tqfindRev('.') - 1 );
+ TQString extension = fileName.right( fileName.length() - fileName.findRev('.') - 1 );
if ( extension == "asm" || extension == "src" || extension == "inc" )
slotInitLanguage(ct_asm);