summaryrefslogtreecommitdiffstats
path: root/kioslave/thumbnail/textcreator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kioslave/thumbnail/textcreator.cpp')
-rw-r--r--kioslave/thumbnail/textcreator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kioslave/thumbnail/textcreator.cpp b/kioslave/thumbnail/textcreator.cpp
index db39e9652..d2960fa7e 100644
--- a/kioslave/thumbnail/textcreator.cpp
+++ b/kioslave/thumbnail/textcreator.cpp
@@ -158,13 +158,13 @@ bool TextCreator::create(const TQString &path, int width, int height, TQImage &i
}
// check for newlines in the text (unix,dos)
- TQChar ch = text.at( i );
+ TQChar ch = text.tqat( i );
if ( ch == '\n' )
{
newLine = true;
continue;
}
- else if ( ch == '\r' && text.at(i+1) == '\n' )
+ else if ( ch == '\r' && text.tqat(i+1) == '\n' )
{
newLine = true;
i++; // skip the next character (\n) as well