diff options
Diffstat (limited to 'kioslave/thumbnail')
-rw-r--r-- | kioslave/thumbnail/textcreator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kioslave/thumbnail/textcreator.cpp b/kioslave/thumbnail/textcreator.cpp index 749dd4816..322c944a2 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.tqat( i ); + TQChar ch = text.at( i ); if ( ch == '\n' ) { newLine = true; continue; } - else if ( ch == '\r' && text.tqat(i+1) == '\n' ) + else if ( ch == '\r' && text.at(i+1) == '\n' ) { newLine = true; i++; // skip the next character (\n) as well |