summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/SUSE2button.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/SUSE2button.cpp b/src/SUSE2button.cpp
index e06c8cf..2643467 100644
--- a/src/SUSE2button.cpp
+++ b/src/SUSE2button.cpp
@@ -605,15 +605,15 @@ void SUSE2Button::renderGradient(TQPainter *painter, const TQRect &rect, const T
int rDiff, gDiff, bDiff;
int rc, gc, bc;
- register int y;
+ int y;
rDiff = ( c1.red()) - (rc = c2.red());
gDiff = ( c1.green()) - (gc = c2.green());
bDiff = ( c1.blue()) - (bc = c2.blue());
- register int rl = rc << 16;
- register int gl = gc << 16;
- register int bl = bc << 16;
+ int rl = rc << 16;
+ int gl = gc << 16;
+ int bl = bc << 16;
int rdelta = ((1<<16) / r_h) * rDiff;
int gdelta = ((1<<16) / r_h) * gDiff;