summaryrefslogtreecommitdiffstats
path: root/chalk/ui/kis_part_layer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/ui/kis_part_layer.cc')
-rw-r--r--chalk/ui/kis_part_layer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chalk/ui/kis_part_layer.cc b/chalk/ui/kis_part_layer.cc
index 459770d1f..ace299654 100644
--- a/chalk/ui/kis_part_layer.cc
+++ b/chalk/ui/kis_part_layer.cc
@@ -129,7 +129,7 @@ void KisPartLayerImpl::paintSelection(TQImage &img, TQ_INT32 x, TQ_INT32 y, TQ_I
for (int y2 = y; y2 < h + y; ++y2) {
for (int x2 = x; x2 < w + x; ++x2) {
- if (!rect.tqcontains(x2, y2)) {
+ if (!rect.contains(x2, y2)) {
TQ_UINT8 g = (*(j + 0) + *(j + 1 ) + *(j + 2 )) / 9;
*(j+0) = 165+g;
*(j+1) = 128+g;