summaryrefslogtreecommitdiffstats
path: root/chalk/core/kis_scale_visitor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/core/kis_scale_visitor.cpp')
-rw-r--r--chalk/core/kis_scale_visitor.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/chalk/core/kis_scale_visitor.cpp b/chalk/core/kis_scale_visitor.cpp
index a06d674d1..f89f03ae4 100644
--- a/chalk/core/kis_scale_visitor.cpp
+++ b/chalk/core/kis_scale_visitor.cpp
@@ -117,7 +117,7 @@ void KisScaleWorker::run()
{
for(int channel = 0; channel < m_pixelSize; channel++){
weight[channel] = 0.0;
- bPelDelta[channel] = FALSE;
+ bPelDelta[channel] = false;
pel[channel]=tmpRows[contribY.p[0].m_pixel][ x * m_pixelSize + channel ];
}
for(int srcpos = 0; srcpos < contribY.n; srcpos++)
@@ -126,7 +126,7 @@ void KisScaleWorker::run()
for(int channel = 0; channel < m_pixelSize; channel++)
{
pel2[channel]=tmpRows[contribY.p[srcpos].m_pixel][ x * m_pixelSize + channel ];
- if(pel2[channel] != pel[channel]) bPelDelta[channel] = TRUE;
+ if(pel2[channel] != pel[channel]) bPelDelta[channel] = true;
weight[channel] += pel2[channel] * contribY.p[srcpos].m_weight;
}
}
@@ -143,7 +143,7 @@ void KisScaleWorker::run()
{
for(int channel = 0; channel < m_pixelSize; channel++){
weight[channel] = 0.0;
- bPelDelta[channel] = FALSE;
+ bPelDelta[channel] = false;
pel[channel] = tmp[ contribX[x].p[0].m_pixel * m_pixelSize + channel ];
}
for(int srcpos = 0; srcpos < contribX[x].n; srcpos++)
@@ -151,7 +151,7 @@ void KisScaleWorker::run()
for(int channel = 0; channel < m_pixelSize; channel++){
pel2[channel] = tmp[ contribX[x].p[srcpos].m_pixel * m_pixelSize + channel ];
if(pel2[channel] != pel[channel])
- bPelDelta[channel] = TRUE;
+ bPelDelta[channel] = true;
weight[channel] += pel2[channel] * contribX[x].p[srcpos].m_weight;
}
}