diff options
Diffstat (limited to 'kdefx/kpixmapeffect.cpp')
-rw-r--r-- | kdefx/kpixmapeffect.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kdefx/kpixmapeffect.cpp b/kdefx/kpixmapeffect.cpp index c4bf04dae..6e09c715f 100644 --- a/kdefx/kpixmapeffect.cpp +++ b/kdefx/kpixmapeffect.cpp @@ -30,15 +30,15 @@ KPixmap& KPixmapEffect::gradient(KPixmap &pixmap, const TQColor &ca, int rDiff, gDiff, bDiff; int rca, gca, bca /*, rcb, gcb, bcb*/; - register int x, y; + int x, y; rDiff = (/*rcb = */ cb.red()) - (rca = ca.red()); gDiff = (/*gcb = */ cb.green()) - (gca = ca.green()); bDiff = (/*bcb = */ cb.blue()) - (bca = ca.blue()); - register int rl = rca << 16; - register int gl = gca << 16; - register int bl = bca << 16; + int rl = rca << 16; + int gl = gca << 16; + int bl = bca << 16; int rcdelta = ((1<<16) / (eff == VerticalGradient ? pixmap.height() : pixmap.width())) * rDiff; int gcdelta = ((1<<16) / (eff == VerticalGradient ? pixmap.height() : pixmap.width())) * gDiff; |