summaryrefslogtreecommitdiffstats
path: root/tdeioslave/thumbnail/textcreator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeioslave/thumbnail/textcreator.cpp')
-rw-r--r--tdeioslave/thumbnail/textcreator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeioslave/thumbnail/textcreator.cpp b/tdeioslave/thumbnail/textcreator.cpp
index 322c944a2..13f3ba83f 100644
--- a/tdeioslave/thumbnail/textcreator.cpp
+++ b/tdeioslave/thumbnail/textcreator.cpp
@@ -122,9 +122,9 @@ bool TextCreator::create(const TQString &path, int width, int height, TQImage &i
TQRect rect;
int rest = m_pixmap.width() - (numCharsPerLine * chSize.width());
- xborder = QMAX( xborder, rest/2); // center horizontally
+ xborder = TQMAX( xborder, rest/2); // center horizontally
rest = m_pixmap.height() - (numLines * chSize.height());
- yborder = QMAX( yborder, rest/2); // center vertically
+ yborder = TQMAX( yborder, rest/2); // center vertically
// end centering
int x = xborder, y = yborder; // where to paint the characters