summaryrefslogtreecommitdiffstats
path: root/tdm/kfrontend
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:35 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 23:52:43 +0900
commit2afc8bbbe4f529c5847cfbe1757e55c47e4656fe (patch)
tree76a398670f2197f0682ccad3beff2875555af078 /tdm/kfrontend
parent25a1c781481d9f53476251d1d2059643cf3ac67a (diff)
downloadtdebase-2afc8bbbe4f529c5847cfbe1757e55c47e4656fe.tar.gz
tdebase-2afc8bbbe4f529c5847cfbe1757e55c47e4656fe.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 8250c8e42310cb39ceb6ae425bc8546208733e99)
Diffstat (limited to 'tdm/kfrontend')
-rw-r--r--tdm/kfrontend/themer/tdmitem.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tdm/kfrontend/themer/tdmitem.cpp b/tdm/kfrontend/themer/tdmitem.cpp
index f5eabdb56..10218c886 100644
--- a/tdm/kfrontend/themer/tdmitem.cpp
+++ b/tdm/kfrontend/themer/tdmitem.cpp
@@ -306,9 +306,9 @@ KdmItem::paint( TQPainter *p, const TQRect &rect )
TQImage lightVersion;
lightVersion = copy.convertToImage();
- register uchar * r = lightVersion.bits();
- register uchar * g = lightVersion.bits() + 1;
- register uchar * b = lightVersion.bits() + 2;
+ uchar * r = lightVersion.bits();
+ uchar * g = lightVersion.bits() + 1;
+ uchar * b = lightVersion.bits() + 2;
uchar * end = lightVersion.bits() + lightVersion.numBytes();
while ( r != end ) {
@@ -345,7 +345,7 @@ KdmItem::paint( TQPainter *p, const TQRect &rect )
TQImage img( myWidget->size(), 32 );
img = img.convertDepth(32);
img.setAlphaBuffer(true);
- register uchar * rd = img.bits();
+ uchar * rd = img.bits();
for( int y = 0; y < img.height(); ++y )
{
for( short int x = 0; x < img.width(); ++x )