summaryrefslogtreecommitdiffstats
path: root/khtml/rendering/render_image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'khtml/rendering/render_image.cpp')
-rw-r--r--khtml/rendering/render_image.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/khtml/rendering/render_image.cpp b/khtml/rendering/render_image.cpp
index 1cd79eb55..b5357bba1 100644
--- a/khtml/rendering/render_image.cpp
+++ b/khtml/rendering/render_image.cpp
@@ -196,10 +196,10 @@ void RenderImage::setPixmap( const TQPixmap &p, const TQRect& r, CachedImage *o)
resizeCache = TQPixmap(); // for resized animations
if(completeRepaint)
- tqrepaintRectangle(borderLeft()+paddingLeft(), borderTop()+paddingTop(), contentWidth(), contentHeight());
+ repaintRectangle(borderLeft()+paddingLeft(), borderTop()+paddingTop(), contentWidth(), contentHeight());
else
{
- tqrepaintRectangle(r.x() + borderLeft() + paddingLeft(), r.y() + borderTop() + paddingTop(),
+ repaintRectangle(r.x() + borderLeft() + paddingLeft(), r.y() + borderTop() + paddingTop(),
r.width(), r.height());
}
}